about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2021-10-19 11:36:21 -0400
committerGitHub <noreply@github.com>2021-10-19 11:36:21 -0400
commit5929cf0d67c0678e599190007c6e62be6a6839f7 (patch)
treef3257ba0c5b888dc3e0286bd16345c228991c572
parentbf39d86e0f34c439306f9dff9d01ca15792b5fd5 (diff)
downloadrust-5929cf0d67c0678e599190007c6e62be6a6839f7.tar.gz
rust-5929cf0d67c0678e599190007c6e62be6a6839f7.zip
Update src/test/codegen/debug-vtable.rs
Co-authored-by: r00ster <r00ster91@protonmail.com>
-rw-r--r--src/test/codegen/debug-vtable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/debug-vtable.rs b/src/test/codegen/debug-vtable.rs
index 5f68da2b6b0..1c8cc61f204 100644
--- a/src/test/codegen/debug-vtable.rs
+++ b/src/test/codegen/debug-vtable.rs
@@ -51,7 +51,7 @@ pub fn foo(x: &Foo) -> (u32, (u64, i8), &dyn Send) {
 
 // Constructing the debuginfo name for the FnOnce vtable below initially caused an ICE on MSVC
 // because the trait type contains a late bound region that needed to be erased before the type
-// layout for the niche enum `Option<&dyn Fn()>` could can be computed.
+// layout for the niche enum `Option<&dyn Fn()>` could be computed.
 pub fn bar() -> Box<dyn FnOnce(Option<&dyn Fn()>)> {
     Box::new(|_x: Option<&dyn Fn()>| {})
 }