Skip to content

Commit ba6e8d8

Browse files
Fixed a new clippy warning (#85)
Co-authored-by: Victor Koenders <[email protected]>
1 parent b54b443 commit ba6e8d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/generator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ impl Generator {
179179
}
180180
}
181181
if let Some(parent) = path.parent() {
182-
path = parent.to_owned();
182+
path = parent.into();
183183
} else {
184184
break;
185185
}

0 commit comments

Comments
 (0)