Skip to content

Commit 3456608

Browse files
committed
Fix long line
1 parent 8ee6bdd commit 3456608

File tree

1 file changed

+2
-1
lines changed
  • src/libstd/sys/redox

1 file changed

+2
-1
lines changed

src/libstd/sys/redox/fs.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,8 @@ pub fn readlink(p: &Path) -> io::Result<PathBuf> {
428428
}
429429

430430
pub fn symlink(src: &Path, dst: &Path) -> io::Result<()> {
431-
let fd = cvt(syscall::open(dst.to_str().unwrap(), syscall::O_SYMLINK | syscall::O_CREAT | syscall::O_WRONLY | 0o777))?;
431+
let fd = cvt(syscall::open(dst.to_str().unwrap(),
432+
syscall::O_SYMLINK | syscall::O_CREAT | syscall::O_WRONLY | 0o777))?;
432433
cvt(syscall::write(fd, src.to_str().unwrap().as_bytes()))?;
433434
cvt(syscall::close(fd))?;
434435
Ok(())

0 commit comments

Comments
 (0)