mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
fix error code index comment
This commit is contained in:
parent
00c8272612
commit
4a75ef91f3
@ -12,7 +12,7 @@ impl T for S {
|
||||
}
|
||||
|
||||
// Having the trait `T` as return type is invalid because bare traits do not
|
||||
have a statically known size:
|
||||
// have a statically known size:
|
||||
fn foo() -> dyn T {
|
||||
S(42)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user