mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-26 09:12:58 +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.
|
somewhere.
|
||||||
|
|
||||||
Make sure to implement the `std::error::Error` trait when defining a custom
|
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`
|
error type so it can be boxed.
|
||||||
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.
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user