Skip to content

Commit 7a6abee

Browse files
authored
Remove part about Error not being no_std (#2369)
This reverts #1005 now that Rust 1.81 has stabilized the `Error` trait.
1 parent d2bc223 commit 7a6abee

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/error-handling/error.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ a good option in a program where you just want to display the error message
4141
somewhere.
4242

4343
Make sure to implement the `std::error::Error` trait when defining a custom
44-
error type so it can be boxed. But if you need to support the `no_std`
45-
attribute, keep in mind that the `std::error::Error` trait is currently
46-
compatible with `no_std` in
47-
[nightly](https://github.com/rust-lang/rust/issues/103765) only.
44+
error type so it can be boxed.
4845

4946
</details>

0 commit comments

Comments
 (0)