Skip to content

Commit 136a42c

Browse files
Remove useless spaces
1 parent 9ec9bbf commit 136a42c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/diagnostics.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ impl ::std::ops::Index<u8> for Foo {
195195
}
196196
197197
const a: Foo = Foo { a: 0u8};
198-
const b: u8 = a[0]; // Index trait is defined by the user, bad !
198+
const b: u8 = a[0]; // Index trait is defined by the user, bad!
199199
```
200200
201201
The only traits which can be used have to be already implemented, not user-defined.
@@ -204,7 +204,7 @@ Example :
204204
205205
```
206206
const a: &'static [i32] = &[1, 2, 3];
207-
const b: i32 = a[0]; // Good !
207+
const b: i32 = a[0]; // Good!
208208
```
209209
"##,
210210

0 commit comments

Comments
 (0)