mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
fix doc comments about error_generic_member_access
This commit is contained in:
parent
76065f5b27
commit
c6f1934d34
@ -360,7 +360,7 @@ impl dyn Error {
|
||||
/// Get a string value from an error.
|
||||
///
|
||||
/// ```rust
|
||||
/// # #![feature(error_generic_member_access)]
|
||||
/// #![feature(error_generic_member_access)]
|
||||
/// use std::error::Error;
|
||||
/// use core::error::request_value;
|
||||
///
|
||||
@ -383,7 +383,7 @@ where
|
||||
/// Get a string reference from an error.
|
||||
///
|
||||
/// ```rust
|
||||
/// # #![feature(error_generic_member_access)]
|
||||
/// #![feature(error_generic_member_access)]
|
||||
/// use core::error::Error;
|
||||
/// use core::error::request_ref;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user