diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-05-03 19:25:04 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-05-03 20:01:42 -0400 |
| commit | 86efd97a10fda1f81f5bead0de36e3343a9faa0e (patch) | |
| tree | f41cc124a23b659f8724524034af931ca84fd2fe /src/test/run-pass/nullable-pointer-iotareduction.rs | |
| parent | bfd3cd8171bee519093f570264e5a2b1dc17e9d8 (diff) | |
| download | rust-86efd97a10fda1f81f5bead0de36e3343a9faa0e.tar.gz rust-86efd97a10fda1f81f5bead0de36e3343a9faa0e.zip | |
add gitattributes and fix whitespace issues
Diffstat (limited to 'src/test/run-pass/nullable-pointer-iotareduction.rs')
| -rw-r--r-- | src/test/run-pass/nullable-pointer-iotareduction.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/nullable-pointer-iotareduction.rs b/src/test/run-pass/nullable-pointer-iotareduction.rs index 0c4d297403c..206381bcef7 100644 --- a/src/test/run-pass/nullable-pointer-iotareduction.rs +++ b/src/test/run-pass/nullable-pointer-iotareduction.rs @@ -20,7 +20,7 @@ use core::{option, cast}; enum E<T> { Thing(int, T), Nothing((), ((), ()), [i8, ..0]) } impl<T> E<T> { - fn is_none(&self) -> bool { + fn is_none(&self) -> bool { match *self { Thing(*) => false, Nothing(*) => true |
