From c0ee97dadf58a7eec3d2eb10df098b0af855b8d3 Mon Sep 17 00:00:00 2001 From: David Wood Date: Mon, 9 Dec 2024 14:51:49 +0000 Subject: [PATCH] match indentation in code blocks --- text/3729-sized-hierarchy.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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