Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
Expand All @@ -37,11 +37,11 @@ jobs:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: dtolnay/rust-toolchain@v1
with:
# update `cargo-expand` accordingly, when bumping MSRV:
toolchain: 1.86.0
toolchain: 1.88.0
components: rust-src
- uses: cargo-bins/cargo-binstall@v1.15.5
- run: cargo binstall cargo-expand@1.0.95 --no-confirm
Expand All @@ -51,7 +51,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
Expand All @@ -62,7 +62,7 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
Expand All @@ -73,7 +73,7 @@ jobs:
name: Compile and test with minimal versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
Expand All @@ -91,7 +91,7 @@ jobs:
name: Verify minimal supported rust version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
Expand Down
4 changes: 3 additions & 1 deletion macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,9 @@ pub fn derive_variant_discriminant(input: TokenStream) -> TokenStream {
/// then you can do so by use of an `#[enumcapsulate(exclude(…))]` attribute
/// on the enum itself, such as if you wanted to exclude `From` and `TryInto`:
///
/// ```rust
/// ```ignore
/// use enumcapsulate::Encapsulate;
///
/// #[derive(Encapsulate)]
/// #[enumcapsulate(exclude(From, TryInto))]
/// enum Enum {
Expand Down
Loading