We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf39d86 commit 5929cf0Copy full SHA for 5929cf0
src/test/codegen/debug-vtable.rs
@@ -51,7 +51,7 @@ pub fn foo(x: &Foo) -> (u32, (u64, i8), &dyn Send) {
51
52
// Constructing the debuginfo name for the FnOnce vtable below initially caused an ICE on MSVC
53
// because the trait type contains a late bound region that needed to be erased before the type
54
-// layout for the niche enum `Option<&dyn Fn()>` could can be computed.
+// layout for the niche enum `Option<&dyn Fn()>` could be computed.
55
pub fn bar() -> Box<dyn FnOnce(Option<&dyn Fn()>)> {
56
Box::new(|_x: Option<&dyn Fn()>| {})
57
}
0 commit comments