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
572: GAT-based Device trait. r=Dirbaio a=Dirbaio
The current `'a` lifetime in the `Device` trait is essentially a workaround for lack of GATs.
I'm just experimenting how this would look like, it'll have to wait until GATs are stable to go in.
The main benefit is structs implementing `Device` can now borrow stuff. This wasn't possible
before because the `for<'d> T: Device<'d>` bounds would essentially imply `T: 'static`.
Co-authored-by: Dario Nieuwenhuis <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
- Remove IpAddress::Unspecified
12
12
- When sending packets with a raw socket, the source IP address is sent unmodified (it was previously replaced with the interface's address if it was unspecified).
13
13
- Fix enable `defmt/alloc` if `alloc` or `std` is enabled.
14
-
- Minimum Supported Rust Version (MSRV) **bumped** from 1.56 to 1.60
14
+
- Minimum Supported Rust Version (MSRV) **bumped** from 1.56 to 1.65
0 commit comments