Long lines.
This commit is contained in:
parent
a09a49627e
commit
3efe499734
@ -427,7 +427,11 @@ fn opt_strs(+mm: Matches, nm: &str) -> ~[~str] {
|
||||
fn opt_maybe_str(+mm: Matches, nm: &str) -> Option<~str> {
|
||||
let vals = opt_vals(mm, nm);
|
||||
if vec::len::<Optval>(vals) == 0u { return None::<~str>; }
|
||||
return match vals[0] { Val(copy s) => Some::<~str>(s), _ => None::<~str> };
|
||||
return match vals[0] {
|
||||
Val(copy s) =>
|
||||
Some::<~str>(s),
|
||||
_ => None::<~str>
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user