Skip to content

Commit

Permalink
fix: guid string thing
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed May 21, 2024
1 parent cd7358e commit 7a34273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ impl PartitionType {
PartitionType::Xbootldr => "bc13c2ff-59e6-4262-a352-b275fd6f7172",
PartitionType::Swap => "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f",
PartitionType::LinuxGeneric => "0fc63daf-8483-4772-8e79-3d69d8477de4",
PartitionType::Guid(guid) => guid,
PartitionType::Guid(guid) => guid.to_string().as_str(),

Check failure on line 654 in src/config.rs

View workflow job for this annotation

GitHub Actions / Check

temporary value dropped while borrowed

Check failure on line 654 in src/config.rs

View workflow job for this annotation

GitHub Actions / Clippy

temporary value dropped while borrowed

Check failure on line 654 in src/config.rs

View workflow job for this annotation

GitHub Actions / unit-test

temporary value dropped while borrowed
}
.to_string()
}
Expand Down

0 comments on commit 7a34273

Please sign in to comment.