Skip to content

Commit 58d782d

Browse files
committed
Auto merge of #29179 - cjdrake:fixup, r=steveklabnik
This is a pretty trivial change. My eye caught some inconsistent whitespace while perusing compiler errors tonight. Specifically, I changed `//correct` to `// correct`, and got rid of some trailing whitespace that isn't seen in other code snippets.
2 parents 26c14a4 + f820dc8 commit 58d782d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_typeck/diagnostics.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,8 +1390,7 @@ enum Bar { A(u8), B(&bool), } // error
13901390
enum Bar<'a> { A(u8), B(&'a bool), } // correct
13911391
13921392
type MyStr = &str; // error
1393-
type MyStr<'a> = &'a str; //correct
1394-
1393+
type MyStr<'a> = &'a str; // correct
13951394
```
13961395
13971396
Lifetime elision is a special, limited kind of inference for lifetimes in

0 commit comments

Comments
 (0)