Skip to content

Commit 21ec1eb

Browse files
committed
Update MSRV
Fix CI in nigtly
1 parent 1c70d0a commit 21ec1eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
rust:
2020
- stable
21-
- 1.54.0
21+
- 1.56.0
2222
- nightly
2323

2424
steps:

lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:
124123
You need to have two levels of `cfg_attr` because Rust < 1.54 doesn't parse the attribute
125124
otherwise.
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
650650
use self_test;
651651

652652
// The following struct is inserted only during generation of the documentation in order to exploit doc-tests.

0 commit comments

Comments
 (0)