diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-06-19 13:58:52 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-06-19 13:58:52 +0200 |
| commit | b4481e68deeffc9e6cf4648d10c51750adbb4c3b (patch) | |
| tree | 59d2a2a73c6f5f19a921650eebcf0abb991fcd3c | |
| parent | 04888e7c600fed71d989937cc8f582bea83423a2 (diff) | |
| download | rust-b4481e68deeffc9e6cf4648d10c51750adbb4c3b.tar.gz rust-b4481e68deeffc9e6cf4648d10c51750adbb4c3b.zip | |
Remove unneeded indentation
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index c95dbd3ca13..f338a774e90 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -223,7 +223,7 @@ impl Test { fn main() { let x = Test; - + x.method::<i32>(); // Error: Test::method doesn't need type parameter! } ``` @@ -239,7 +239,7 @@ impl Test { fn main() { let x = Test; - + x.method(); // OK, we're good! } ``` |
