diff options
| author | Corey Richardson <corey@octayn.net> | 2014-01-05 13:05:02 -0500 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2014-01-05 21:52:52 -0500 |
| commit | 2097570f4ca354d2f0d18c52659c472cda4fab08 (patch) | |
| tree | 1235a2270aa704aa7d870fd7e2a5fc7bf81f6b31 /src/libstd/ascii.rs | |
| parent | b6d4d117f4c2770649c7ddc2ad9ad4ce4c3b13b1 (diff) | |
| download | rust-2097570f4ca354d2f0d18c52659c472cda4fab08.tar.gz rust-2097570f4ca354d2f0d18c52659c472cda4fab08.zip | |
Fix some warnings
Diffstat (limited to 'src/libstd/ascii.rs')
| -rw-r--r-- | src/libstd/ascii.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs index 974bc454c66..adc10c456e3 100644 --- a/src/libstd/ascii.rs +++ b/src/libstd/ascii.rs @@ -577,6 +577,7 @@ mod tests { #[test] #[should_fail] fn test_ascii_fail_char_slice() { 'λ'.to_ascii(); } + #[test] fn test_opt() { assert_eq!(65u8.to_ascii_opt(), Some(Ascii { chr: 65u8 })); assert_eq!(255u8.to_ascii_opt(), None); |
