1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-15 21:28:43 +02:00

Remove part about Error not being no_std (#2369)

This reverts #1005 now that Rust 1.81 has stabilized the `Error` trait.
This commit is contained in:
Martin Geisler 2024-09-18 03:38:19 +02:00 committed by GitHub
parent d2bc223a06
commit 7a6abee0da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,9 +41,6 @@ a good option in a program where you just want to display the error message
somewhere.
Make sure to implement the `std::error::Error` trait when defining a custom
error type so it can be boxed. But if you need to support the `no_std`
attribute, keep in mind that the `std::error::Error` trait is currently
compatible with `no_std` in
[nightly](https://github.com/rust-lang/rust/issues/103765) only.
error type so it can be boxed.
</details>