Skip to content

chore(deps): Update Rust Stable to v1.88 #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 27, 2025
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.87" # STABLE
toolchain: "1.88" # STABLE
- uses: Swatinem/rust-cache@v2
- name: Check documentation
env:
Expand All @@ -119,7 +119,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.87" # STABLE
toolchain: "1.88" # STABLE
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Check formatting
Expand All @@ -135,7 +135,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.87" # STABLE
toolchain: "1.88" # STABLE
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Install SARIF tools
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/reflection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl<'a> Case<'a> {
impl fmt::Debug for Case<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let predicate = if let Some(ref predicate) = self.predicate {
format!("Some({})", predicate)
format!("Some({predicate})")
} else {
"None".to_owned()
};
Expand Down
8 changes: 4 additions & 4 deletions crates/tree/examples/failures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ fn main() {
let pred = predicates::ord::eq(expected);
if let Some(case) = pred.find_case(false, &actual) {
let tree = case.tree();
println!("{}", tree);
println!("{tree}");
}

let expected = [1, 2, 3];
let actual = 15;
let pred = predicates::iter::in_iter(IntoIterator::into_iter(expected));
if let Some(case) = pred.find_case(false, &actual) {
let tree = case.tree();
println!("{}", tree);
println!("{tree}");
}

let expected = "Hello
Expand All @@ -29,7 +29,7 @@ Goodbye!";
let pred = predicates::ord::eq(expected);
if let Some(case) = pred.find_case(false, &actual) {
let tree = case.tree();
println!("{}", tree);
println!("{tree}");
}

let expected = "Hello
Expand All @@ -43,6 +43,6 @@ Goodbye!";
let pred = predicates::str::diff(expected);
if let Some(case) = pred.find_case(false, actual) {
let tree = case.tree();
println!("{}", tree);
println!("{tree}");
}
}
4 changes: 2 additions & 2 deletions crates/tree/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ struct Displayable {

impl Displayable {
fn new(display: &dyn std::fmt::Display) -> Self {
let primary = format!("{}", display);
let alternate = format!("{:#}", display);
let primary = format!("{display}");
let alternate = format!("{display:#}");
Self { primary, alternate }
}
}
Expand Down
Loading