Anonymous user
Comma quibbling: Difference between revisions
Complete Rust output for no input words
m (→{{header|C#}}: whitespace) |
(Complete Rust output for no input words) |
||
Line 274:
=={{header|Rust}}==
<lang Rust>fn quibble(seq: &[~str]) -> ~str {
match seq {
Line 284 ⟶ 283:
fn main() {
println(quibble([]));
println(quibble([~"ABC"]));
println(quibble([~"ABC", ~"DEF"]));
Line 290:
{{out}}
<pre>
{}
{ABC}
{ABC and DEF}
|