diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-09-25 17:39:22 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-09-25 22:13:05 -0700 |
| commit | e19e628b19af2921fc29818009496bc430640f76 (patch) | |
| tree | 9e4d4d161b7de4b33cd4335dbe8355fa93bd8463 /src/libstd | |
| parent | 473a866733b085419b41b2d2f2708a49c079f89e (diff) | |
Demode iter-trait
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/net_url.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net_url.rs b/src/libstd/net_url.rs index 2a27aed773d..8116bd4fb30 100644 --- a/src/libstd/net_url.rs +++ b/src/libstd/net_url.rs @@ -524,7 +524,7 @@ fn get_authority(rawurl: &str) -> let host_is_end_plus_one: &fn() -> bool = || { end+1 == len - && !['?', '#', '/'].contains(rawurl[end] as char) + && !['?', '#', '/'].contains(&(rawurl[end] as char)) }; // finish up |
