remove redundant clones of paths in @import

This commit is contained in:
ConnorSkees 2020-06-20 15:53:09 -04:00
parent 207aa1bf38
commit d01ab0aa7d

View File

@ -58,8 +58,8 @@ impl<'a> Parser<'a> {
path_buf.with_file_name(name).with_extension("scss"),
path_buf.with_file_name(format!("_{}.scss", name.to_str().unwrap())),
path_buf.clone(),
path_buf.clone().join("index.scss"),
path_buf.clone().join("_index.scss"),
path_buf.join("index.scss"),
path_buf.join("_index.scss"),
];
for name in &paths {