Skip to content

Commit e68dfb7

Browse files
committed
Ignore doctest for non-exported macro
Rust 1.62 introduced a breaking change where doctests for non-exported macros are now run by default. These don't compile because the macro can't be imported in it. See rust-lang/rust#97030 for more info.
1 parent 2cf21d1 commit e68dfb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/rust-runtime/aws-types/src/build_metadata.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub enum OsFamily {
4141
/// is set to a specific value. This macro simplifies checking the current OS family.
4242
///
4343
/// Usage:
44-
/// ```rust
44+
/// ```ignore
4545
/// let os = get_os_family!(target_os: ("linux", OsFamily::Windows), ("android", OsFamily::Android));
4646
/// ```
4747
macro_rules! get_os_family {

0 commit comments

Comments
 (0)