Skip to content

Commit 521031f

Browse files
authored
Apply suggestions from code review
Co-Authored-By: Aaronepower <[email protected]>
1 parent 60677a8 commit 521031f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RELEASES.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Language
1313
- [You can now match against literals in macros with the `literal`
1414
specifier.][56072] This will match against a literal of any type.
1515
E.g. `1`, `'A'`, `"Hello World"`
16-
- [Self can now be used as a constructor and pattern.][56365] E.g.
16+
- [Self can now be used as a constructor and pattern for unit and tuple structs.][56365] E.g.
1717
```rust
1818
struct Point(i32, i32);
1919

@@ -34,7 +34,7 @@ Language
3434
```rust
3535
enum List<T>
3636
where
37-
Self: PartialOrd<Self> // can write `Self` instead of `List<T>`
37+
Self: PartialOrd<Self> // can write `Self` instead of `List<T>`
3838
{
3939
Nil,
4040
Cons(T, Box<Self>) // likewise here
@@ -47,7 +47,7 @@ Compiler
4747
--------
4848
- [The default allocator has changed from jemalloc to the default allocator on
4949
your system.][55238] The compiler itself on Linux & macOS will still use
50-
jemalloc, but programs compiled with them will use the system allocator.
50+
jemalloc, but programs compiled with it will use the system allocator.
5151
- [Added the `aarch64-pc-windows-msvc` target.][55702]
5252

5353
Libraries

0 commit comments

Comments
 (0)