Skip to content

Commit ee3b73f

Browse files
Icxoludavidhewitt
authored andcommitted
ci: updates for Rust 1.81 (#4533)
1 parent 146c397 commit ee3b73f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/conversions/anyhow.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#![cfg(feature = "anyhow")]
22

3-
//! A conversion from
4-
//! [anyhow](https://docs.rs/anyhow/ "A trait object based error system for easy idiomatic error handling in Rust applications.")’s
5-
//! [`Error`](https://docs.rs/anyhow/latest/anyhow/struct.Error.html "Anyhows `Error` type, a wrapper around a dynamic error type")
6-
//! type to [`PyErr`].
3+
//! A conversion from [anyhow]’s [`Error`][anyhow-error] type to [`PyErr`].
74
//!
85
//! Use of an error handling library like [anyhow] is common in application code and when you just
96
//! want error handling to be easy. If you are writing a library or you need more control over your
@@ -99,6 +96,8 @@
9996
//! }
10097
//! ```
10198
//!
99+
//! [anyhow]: https://docs.rs/anyhow/ "A trait object based error system for easy idiomatic error handling in Rust applications."
100+
//! [anyhow-error]: https://docs.rs/anyhow/latest/anyhow/struct.Error.html "Anyhows `Error` type, a wrapper around a dynamic error type"
102101
//! [`RuntimeError`]: https://docs.python.org/3/library/exceptions.html#RuntimeError "Built-in Exceptions — Python documentation"
103102
//! [Error handling]: https://doc.rust-lang.org/book/ch09-02-recoverable-errors-with-result.html "Recoverable Errors with Result - The Rust Programming Language"
104103

0 commit comments

Comments
 (0)