Skip to content

Commit

Permalink
Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Furisto committed Jun 26, 2021
1 parent 8f872d7 commit 7cb4e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgroups/v2/systemd_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl SystemDCGroupManager {
if !cgroups_path.name.ends_with(".slice") {
return format!("{}-{}.scope", cgroups_path.scope, cgroups_path.name);
}
cgroups_path.name.clone()
cgroups_path.name
}

// systemd represents slice hierarchy using `-`, so we need to follow suit when
Expand Down

0 comments on commit 7cb4e39

Please # to comment.