diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2015-01-25 22:05:03 +0100 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2015-01-30 04:38:54 +0100 |
| commit | 7f64fe4e27555c256cb228feb05d4181a2287125 (patch) | |
| tree | c1fd374d345905c7c4c9b1e7df160d3394edbec5 /src/libstd/sync/once.rs | |
| parent | 52c74e63dacd49017b19330e0cbecbac0a3fe62e (diff) | |
| download | rust-7f64fe4e27555c256cb228feb05d4181a2287125.tar.gz rust-7f64fe4e27555c256cb228feb05d4181a2287125.zip | |
Remove all `i` suffixes
Diffstat (limited to 'src/libstd/sync/once.rs')
| -rw-r--r-- | src/libstd/sync/once.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/once.rs b/src/libstd/sync/once.rs index 0604003cecd..2df211f3768 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -134,7 +134,7 @@ mod test { #[test] fn smoke_once() { static O: Once = ONCE_INIT; - let mut a = 0i; + let mut a = 0; O.call_once(|| a += 1); assert_eq!(a, 1); O.call_once(|| a += 1); |
