Skip to content

Commit 642d27d

Browse files
committed
Fix typo in E0759
1 parent 7ce1b3b commit 642d27d

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+1
-1
lines changed

compiler/rustc_error_codes/src/error_codes/E0759.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn bar(x: &i32) -> Box<dyn Debug + 'static> { // ok!
2727
}
2828
```
2929

30-
Both [`dyn Trait`] and [`impl Trait`] in return types have a an implicit
30+
Both [`dyn Trait`] and [`impl Trait`] in return types have an implicit
3131
`'static` requirement, meaning that the value implementing them that is being
3232
returned has to be either a `'static` borrow or an owned value.
3333

0 commit comments

Comments
 (0)