Skip to content

Commit f0b92df

Browse files
committed
fmt
1 parent 3575732 commit f0b92df

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/bench.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
jobs:
77
bench:
88
runs-on: ubuntu-latest
9+
permissions:
10+
pull-requests: write
911
steps:
1012
- uses: taiki-e/checkout-action@v1
1113

src/fs.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,7 @@ fn vpath(p: &Path) -> std::io::Result<VPath> {
301301
base_path.insert(0, '/');
302302
}
303303

304-
return Ok(VPath::Virtual(VirtualInfo {
305-
base_path,
306-
virtual_segments,
307-
}));
304+
return Ok(VPath::Virtual(VirtualInfo { base_path, virtual_segments }));
308305
}
309306

310307
Ok(VPath::Native(PathBuf::from(normalized_path)))

0 commit comments

Comments
 (0)