Long lines.

This commit is contained in:
Graydon Hoare 2012-09-28 11:36:09 -07:00
parent a09a49627e
commit 3efe499734

View File

@ -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>
};
}