Skip to content

Commit d7a0d58

Browse files
committed
Set doc(cfg(feature = "std")) on std trait impls
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 2cfbd8e commit d7a0d58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/error_impls.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
66
// option. This file may not be copied, modified, or distributed
77
// except according to those terms.
8+
#![cfg_attr(docsrs, doc(cfg(feature = "std")))]
89
extern crate std;
910

1011
use crate::Error;

0 commit comments

Comments
 (0)