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:
parent
d2bc223a06
commit
7a6abee0da
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user