1
Fork 0

Camel case the option type

This commit is contained in:
Brian Anderson 2012-08-20 12:23:37 -07:00
parent d9a6a63653
commit 8337fa1a54
330 changed files with 4929 additions and 4926 deletions

View file

@ -156,7 +156,7 @@ mod v4 {
fn parse_to_ipv4_rep(ip: ~str) -> result::result<ipv4_rep, ~str> {
let parts = vec::map(str::split_char(ip, '.'), |s| {
match uint::from_str(s) {
some(n) if n <= 255u => n,
Some(n) if n <= 255u => n,
_ => 256u
}
});