xtask: Simplify match arm
Thanks to clippy for the lint!
This commit is contained in:
parent
9a5142052c
commit
157b36d305
@ -138,7 +138,7 @@ impl Package {
|
||||
};
|
||||
|
||||
let changes = match changelog[changes_start..changes_end].trim() {
|
||||
s if s.is_empty() => "No changes for this version",
|
||||
"" => "No changes for this version",
|
||||
s => s,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user