File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,9 @@ pub fn cast_to(args: TokenStream, input: TokenStream) -> TokenStream {
8383/// This macro is for registering both a concrete type and its traits to be targets for casting.
8484/// Useful when the type definition and the trait implementations are in an external crate.
8585///
86- /// **Note**: this macro cannot be used in an expression or statement due to
87- /// [the current limitation](https://github.com/rust-lang/rust/pull/68717) in the stable Rust.
86+ /// **Note**: this macro cannot be used in an expression or statement prior to Rust 1.45.0,
87+ /// due to [a previous limitation](https://github.com/rust-lang/rust/pull/68717).
88+ /// If you want to use it in an expression or statement, use Rust 1.45.0 or later.
8889///
8990/// # Examples
9091/// ```
You can’t perform that action at this time.
0 commit comments