@@ -410,7 +410,7 @@ impl CookieJar {
410
410
/// assert!(jar.get("private").is_some());
411
411
/// ```
412
412
#[ cfg( feature = "private" ) ]
413
- #[ cfg_attr( nightly, doc( cfg( feature = "private" ) ) ) ]
413
+ #[ cfg_attr( all ( nightly, doc ) , doc( cfg( feature = "private" ) ) ) ]
414
414
pub fn private < ' a > ( & ' a self , key : & Key ) -> PrivateJar < & ' a Self > {
415
415
PrivateJar :: new ( self , key)
416
416
}
@@ -438,7 +438,7 @@ impl CookieJar {
438
438
/// jar.private_mut(&key).remove(Cookie::named("private"));
439
439
/// ```
440
440
#[ cfg( feature = "private" ) ]
441
- #[ cfg_attr( nightly, doc( cfg( feature = "private" ) ) ) ]
441
+ #[ cfg_attr( all ( nightly, doc ) , doc( cfg( feature = "private" ) ) ) ]
442
442
pub fn private_mut < ' a > ( & ' a mut self , key : & Key ) -> PrivateJar < & ' a mut Self > {
443
443
PrivateJar :: new ( self , key)
444
444
}
@@ -473,7 +473,7 @@ impl CookieJar {
473
473
/// assert!(jar.get("signed").is_some());
474
474
/// ```
475
475
#[ cfg( feature = "signed" ) ]
476
- #[ cfg_attr( nightly, doc( cfg( feature = "signed" ) ) ) ]
476
+ #[ cfg_attr( all ( nightly, doc ) , doc( cfg( feature = "signed" ) ) ) ]
477
477
pub fn signed < ' a > ( & ' a self , key : & Key ) -> SignedJar < & ' a Self > {
478
478
SignedJar :: new ( self , key)
479
479
}
@@ -500,7 +500,7 @@ impl CookieJar {
500
500
/// jar.signed_mut(&key).remove(Cookie::named("signed"));
501
501
/// ```
502
502
#[ cfg( feature = "signed" ) ]
503
- #[ cfg_attr( nightly, doc( cfg( feature = "signed" ) ) ) ]
503
+ #[ cfg_attr( all ( nightly, doc ) , doc( cfg( feature = "signed" ) ) ) ]
504
504
pub fn signed_mut < ' a > ( & ' a mut self , key : & Key ) -> SignedJar < & ' a mut Self > {
505
505
SignedJar :: new ( self , key)
506
506
}
0 commit comments