Skip to content

Commit 1abcdfe

Browse files
committed
x.py fmt
1 parent 0060c91 commit 1abcdfe

File tree

1 file changed

+1
-6
lines changed
  • library/std/src/sys/wasi

1 file changed

+1
-6
lines changed

library/std/src/sys/wasi/fs.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -558,12 +558,7 @@ pub fn link(original: &Path, link: &Path) -> io::Result<()> {
558558
let (original, original_file) = open_parent(original)?;
559559
let (link, link_file) = open_parent(link)?;
560560
// Pass 0 as the flags argument, meaning don't follow symlinks.
561-
original.link(
562-
0,
563-
osstr2str(original_file.as_ref())?,
564-
&link,
565-
osstr2str(link_file.as_ref())?,
566-
)
561+
original.link(0, osstr2str(original_file.as_ref())?, &link, osstr2str(link_file.as_ref())?)
567562
}
568563

569564
pub fn stat(p: &Path) -> io::Result<FileAttr> {

0 commit comments

Comments
 (0)