Skip to content

Commit

Permalink
Don't refer to TryInto as not-yet-stable
Browse files Browse the repository at this point in the history
It got stabilised in 2019, I think it's safe to remove the caveat by now.  😜
  • Loading branch information
mpalmer authored and TedDriggs committed May 17, 2024
1 parent a9fb83a commit 6408999
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions derive_builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,8 @@
//! ## Fallible Setters
//!
//! Alongside the normal setter methods, you can expose fallible setters which are generic over
//! the `TryInto` trait. TryInto is a not-yet-stable trait
//! (see rust-lang issue [#33417](https://github.com/rust-lang/rust/issues/33417)) similar to
//! `Into` with the key distinction that the conversion can fail, and therefore produces a
//! `Result`.
//! the `TryInto` trait. TryInto is similar to `Into` with the key distinction that the conversion
//! can fail, and therefore produces a `Result`.
//!
//! You can only declare the `try_setter` attribute today if you're targeting nightly, and you have
//! to add `#![feature(try_from)]` to your crate to use it.
Expand Down

0 comments on commit 6408999

Please sign in to comment.