Skip to content

Commit d6eb7ae

Browse files
committed
redundant
1 parent d90a5f8 commit d6eb7ae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ impl FromStr for DataSource {
164164
path => {
165165
let path = PathBuf::from(path);
166166
if path.is_dir() {
167-
Ok(Self::Prebuilt {
168-
path: path,
169-
})
167+
Ok(Self::Prebuilt { path })
170168
} else {
171169
Err(
172170
"--src must be a path to an existing directory, `in-tree` or `production`"

0 commit comments

Comments
 (0)