Pass &str instead of cloning String
This commit is contained in:
parent
426b531e4c
commit
4938a51ad7
1 changed files with 1 additions and 1 deletions
|
|
@ -790,6 +790,6 @@ impl<D: Clone> ImplementationBuilder<Cron<D>> for DefaultBuilder {
|
|||
(): &<Cron<D> as Resource>::Artifact,
|
||||
user_name: <Self::Prerequisites as ToArtifact>::Artifact,
|
||||
) -> Self::Implementation {
|
||||
CronSymbol::new((user_name.0).0, resource.1.clone(), &StdCommandRunner)
|
||||
CronSymbol::new((user_name.0).0, &resource.1, &StdCommandRunner)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue