Skip to content

Commit 5929cf0

Browse files
Update src/test/codegen/debug-vtable.rs
Co-authored-by: r00ster <[email protected]>
1 parent bf39d86 commit 5929cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/codegen/debug-vtable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub fn foo(x: &Foo) -> (u32, (u64, i8), &dyn Send) {
5151

5252
// Constructing the debuginfo name for the FnOnce vtable below initially caused an ICE on MSVC
5353
// 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.
54+
// layout for the niche enum `Option<&dyn Fn()>` could be computed.
5555
pub fn bar() -> Box<dyn FnOnce(Option<&dyn Fn()>)> {
5656
Box::new(|_x: Option<&dyn Fn()>| {})
5757
}

0 commit comments

Comments
 (0)