File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818 matrix :
1919 rust :
2020 - stable
21- - 1.54 .0
21+ - 1.56 .0
2222 - nightly
2323
2424 steps :
Original file line number Diff line number Diff line change @@ -118,9 +118,8 @@ The default formatting is equivalent to:
118118
119119## Compatibility
120120
121- The minimum Rust version required to use this crate is Rust 1.54 because of the
122- feature to have macro in doc comments. You can make this crate optional and use
123- `#[cfg_attr()]` statements to enable it only when building the documentation:
121+ The minimum Rust version required to use this crate is Rust 1.56.
122+ You can make this crate optional and use `#[cfg_attr()]` statements to enable it only when building the documentation:
124123You need to have two levels of `cfg_attr` because Rust < 1.54 doesn't parse the attribute
125124otherwise.
126125
@@ -647,6 +646,7 @@ macro_rules! self_test {
647646 } ;
648647}
649648
649+ #[ allow( unused) ] // Workaround until https://github.com/rust-lang/rust/pull/147914 is merged
650650use self_test;
651651
652652// The following struct is inserted only during generation of the documentation in order to exploit doc-tests.
You can’t perform that action at this time.
0 commit comments