Skip to content

Commit

Permalink
correct incorrect syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtwco committed Nov 16, 2024
1 parent a703feb commit fad04b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/3729-sized-hierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ backwards compatibility, depending on the bounds that would be introduced[^6].
parameter)..

```rust
auto trait Foo;
auto trait Foo {}

fn size_of<T: Sized + Foo>() { /* .. */ } // `Foo` bound is new!
```
Expand All @@ -397,7 +397,7 @@ backwards compatibility, depending on the bounds that would be introduced[^6].
parameter)..

```rust
auto trait Foo;
auto trait Foo {}

fn size_of_val<T: ?Sized + Foo>(x: val) { /* .. */ } // `Foo` bound is new!
```
Expand Down

0 comments on commit fad04b0

Please sign in to comment.