You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: posts/2024-09-05-impl-trait-capture-rules.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: "Changes to `impl Trait` in Rust 2024"
4
4
author: Niko Matsakis
5
5
team: the language team <https://www.rust-lang.org/governance/teams/lang>
6
6
---
7
-
This blog post describes some small but significant changes with (return-position) `impl Trait`that are coming in Rust 2024. The goal of these changes is to simplify how `impl Trait`works to better match the most common usage patterns while also giving a flexible syntax that allows users to have full control when needed.
7
+
The default way `impl Trait`works in return position is changing in Rust 2024. These changes are meant to simplify `impl Trait` to better match what people want most of the time. We're also adding a flexible syntax that gives you full control when you need it.
0 commit comments