Skip to content

Commit 886dd0c

Browse files
committed
Bump edition to 2024 and MSRV to 1.88
1 parent f9bc99b commit 886dd0c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
strategy:
8282
matrix:
8383
os: [macOS-latest, ubuntu-latest, windows-latest]
84-
version: [stable, nightly, "1.78"]
84+
version: [stable, nightly, "1.88"]
8585
runs-on: ${{ matrix.os }}
8686
steps:
8787
- uses: actions/checkout@v4

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
name = "cargo-mutants"
33
version = "26.0.1"
4-
edition = "2021"
4+
edition = "2024"
55
authors = ["Martin Pool"]
66
license = "MIT"
77
description = "Inject bugs and see if your tests catch them"
88
repository = "https://github.com/sourcefrog/cargo-mutants"
99
homepage = "https://mutants.rs/"
1010
categories = ["development-tools::testing"]
1111
keywords = ["testing", "mutants", "cargo", "mutation-testing", "coverage"]
12-
rust-version = "1.78"
12+
rust-version = "1.88"
1313

1414
[package.metadata.wix]
1515
upgrade-guid = "CA7BFE8D-F3A7-4D1D-AE43-B7749110FA90"

src/fnvalue.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ fn known_map(path: &Path) -> Option<(&Ident, &Type, &Type)> {
339339
{
340340
// TODO: Skip lifetime args.
341341
// TODO: Return the path with args stripped out.
342-
if let Some((GenericArgument::Type(ref key_type), GenericArgument::Type(ref value_type))) =
342+
if let Some((GenericArgument::Type(key_type), GenericArgument::Type(value_type))) =
343343
args.iter().collect_tuple()
344344
{
345345
return Some((&last.ident, key_type, value_type));
@@ -441,7 +441,7 @@ fn match_first_type_arg<'p>(path: &'p Path, expected_ident: &str) -> Option<&'p
441441
mod test {
442442
use itertools::Itertools;
443443
use pretty_assertions::assert_eq;
444-
use syn::{parse_quote, Expr, ReturnType};
444+
use syn::{Expr, ReturnType, parse_quote};
445445

446446
use crate::fnvalue::match_impl_iterator;
447447
use crate::pretty::ToPrettyString;

0 commit comments

Comments
 (0)