diff --git a/text/3729-sized-hierarchy.md b/text/3729-sized-hierarchy.md index 9e6ccf349d9..9c31f1ee585 100644 --- a/text/3729-sized-hierarchy.md +++ b/text/3729-sized-hierarchy.md @@ -440,8 +440,8 @@ backwards compatibility, depending on the bounds that would be introduced[^7]. ```rust trait Foo { - fn bar(t: T) -> usize; - fn baz(t: T) -> usize; + fn bar(t: T) -> usize; + fn baz(t: T) -> usize; } ``` @@ -453,8 +453,8 @@ backwards compatibility, depending on the bounds that would be introduced[^7]. struct Qux; impl Foo for Qux { - fn bar(_: T) -> usize { std::mem::size_of } - fn baz(t: T) -> usize { std::mem::size_of_val(t) } + fn bar(_: T) -> usize { std::mem::size_of } + fn baz(t: T) -> usize { std::mem::size_of_val(t) } } ``` [^6]: Associated types of traits have default `Sized` bounds which cannot be