We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d977608 + 5906731 commit cb3ea12Copy full SHA for cb3ea12
Cargo.toml
@@ -1,11 +1,11 @@
1
[workspace]
2
-resolver = "2"
+resolver = "3"
3
4
[workspace.package]
5
repository = "https://github.com/assert-rs/dir-diff.git"
6
license = "MIT OR Apache-2.0"
7
-edition = "2021"
8
-rust-version = "1.69" # MSRV
+edition = "2024"
+rust-version = "1.85" # MSRV
9
include = [
10
"build.rs",
11
"src/**/*",
src/lib.rs
@@ -112,13 +112,8 @@ mod tests {
112
113
#[test]
114
fn test_display() {
115
- use std::io::ErrorKind;
116
-
117
assert_eq!(
118
- format!(
119
- "{}",
120
- Error::Io(std::io::Error::new(ErrorKind::Other, "oh no!"))
121
- ),
+ format!("{}", Error::Io(std::io::Error::other("oh no!"))),
122
"I/O error: oh no!"
123
);
124
}
0 commit comments