aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/inference_rules.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-06 15:30:47 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-06 15:30:47 -0600
commitcffe9f4085cf28e9a1e62346cfb31ed0470a49ff (patch)
tree7bfd667b0c1952275ff478afc3bcad0a0c0dbf53 /src/makefile/inference_rules.rs
parentccd9a6560c34690af803ef4dae2e53621ae608c1 (diff)
downloadmakers-cffe9f4085cf28e9a1e62346cfb31ed0470a49ff.tar.gz
makers-cffe9f4085cf28e9a1e62346cfb31ed0470a49ff.zip
appease our wire lord and savior
Diffstat (limited to 'src/makefile/inference_rules.rs')
-rw-r--r--src/makefile/inference_rules.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/inference_rules.rs b/src/makefile/inference_rules.rs
index 57756c9..397e651 100644
--- a/src/makefile/inference_rules.rs
+++ b/src/makefile/inference_rules.rs
@@ -72,7 +72,7 @@ mod test {
#[test]
fn suffix_match() -> R {
- let rule = InferenceRule::new_suffix(".o".to_string(), ".c".to_string(), vec![]);
+ let rule = InferenceRule::new_suffix(".o".to_owned(), ".c".to_owned(), vec![]);
assert!(rule.matches("foo.o")?);
assert!(rule.matches("dir/foo.o")?);
Ok(())