about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-01-31 16:36:52 +0100
committerGitHub <noreply@github.com>2021-01-31 16:36:52 +0100
commit86c01ddc22287e32dcd2bde522af0de97e65434a (patch)
tree73d3d92d320e13487af7c77aa923a0bab5edbcca
parent024848d0139c29551c4a0c8558a137b9d285d887 (diff)
parent642d27d40a72908324886d80cd991e02f9707e75 (diff)
downloadrust-86c01ddc22287e32dcd2bde522af0de97e65434a.tar.gz
rust-86c01ddc22287e32dcd2bde522af0de97e65434a.zip
Rollup merge of #81571 - schteve:fix_e0759_typo, r=jonas-schievink
Fix typo in E0759

Minor typo in E0759 error message.
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0759.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0759.md b/compiler/rustc_error_codes/src/error_codes/E0759.md
index 6d525310f75..2fe5ada257f 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0759.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0759.md
@@ -27,7 +27,7 @@ fn bar(x: &i32) -> Box<dyn Debug + 'static> { // ok!
 }
 ```
 
-Both [`dyn Trait`] and [`impl Trait`] in return types have a an implicit
+Both [`dyn Trait`] and [`impl Trait`] in return types have an implicit
 `'static` requirement, meaning that the value implementing them that is being
 returned has to be either a `'static` borrow or an owned value.