summaryrefslogtreecommitdiff
path: root/subplotlib/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'subplotlib/build.rs')
-rw-r--r--subplotlib/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/subplotlib/build.rs b/subplotlib/build.rs
index e5f8917..77e493a 100644
--- a/subplotlib/build.rs
+++ b/subplotlib/build.rs
@@ -22,7 +22,7 @@ fn gen_tests() {
.chain(glob("../tests/subplots/common/*.subplot").expect("failed to find common subplots"));
for entry in subplots {
let entry = entry.expect("failed to get subplot dir entry in subplotlib");
- let mut inc = tests.join(&entry.file_name().unwrap());
+ let mut inc = tests.join(entry.file_name().unwrap());
inc.set_extension("rs");
if !inc.exists() {
panic!("missing include file: {}", inc.display());