diff options
-rw-r--r-- | src/step.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/step.rs b/src/step.rs index 6088400..4012da7 100644 --- a/src/step.rs +++ b/src/step.rs @@ -53,7 +53,7 @@ impl Step { /// name. Steps don't know about other steps, and can't validate /// that the dependency exists, so this always works. pub fn add_dependency(&mut self, name: &str) { - self.depends.push(String::from(name)); + self.depends.push(name.to_owned()); } /// Does this step depend on given other step? |