Skip to content

Commit cd488ac

Browse files
committed
Move to Rust edition 2024
1 parent 8f52962 commit cd488ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ukibak"
3-
edition = "2021"
43
version = "1.1.3"
4+
edition = "2024"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77
[profile.release]

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ fn get_dest_path(source_path: &Path, name: &Option<OsString>, absname: &Option<O
174174
// If the "relname" ist set, check that it is indeed relative and combine it with the
175175
// basepath of the source EFI file to get the destination path.
176176
// If "relname" is not set, use "absname" as is.
177-
let dest_path = if let Some(ref name) = name {
177+
let dest_path = if let Some(name) = name {
178178
let path = Path::new(name);
179179

180180
if path.file_name().map(|n| n.len()).unwrap_or_default() != name.len() {

0 commit comments

Comments
 (0)