about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Heindel <stevenheindel@gmail.com>2021-01-29 19:07:39 -0500
committerSteve Heindel <stevenheindel@gmail.com>2021-01-30 09:48:37 -0500
commit642d27d40a72908324886d80cd991e02f9707e75 (patch)
treed3d95c652ed24b1102b23f671656e8eef702b97c
parent7ce1b3b24491cbe10669cbe2b5733c2fe7cfe5b7 (diff)
downloadrust-642d27d40a72908324886d80cd991e02f9707e75.tar.gz
rust-642d27d40a72908324886d80cd991e02f9707e75.zip
Fix typo in E0759
-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.