File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,8 @@ impl Stderr {
119
119
/// #
120
120
/// # Ok(()) }) }
121
121
/// ```
122
+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
123
+ #[ cfg( any( feature = "unstable" , feature = "docs" ) ) ]
122
124
pub async fn lock ( & self ) -> StderrLock < ' static > {
123
125
static STDERR : Lazy < std:: io:: Stderr > = Lazy :: new ( std:: io:: stderr) ;
124
126
Original file line number Diff line number Diff line change @@ -175,6 +175,8 @@ impl Stdin {
175
175
/// #
176
176
/// # Ok(()) }) }
177
177
/// ```
178
+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
179
+ #[ cfg( any( feature = "unstable" , feature = "docs" ) ) ]
178
180
pub async fn lock ( & self ) -> StdinLock < ' static > {
179
181
static STDIN : Lazy < std:: io:: Stdin > = Lazy :: new ( std:: io:: stdin) ;
180
182
Original file line number Diff line number Diff line change @@ -119,6 +119,8 @@ impl Stdout {
119
119
/// #
120
120
/// # Ok(()) }) }
121
121
/// ```
122
+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
123
+ #[ cfg( any( feature = "unstable" , feature = "docs" ) ) ]
122
124
pub async fn lock ( & self ) -> StdoutLock < ' static > {
123
125
static STDOUT : Lazy < std:: io:: Stdout > = Lazy :: new ( std:: io:: stdout) ;
124
126
You can’t perform that action at this time.
0 commit comments