mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Remove redundant comment, fish targets Unix-like systems
This commit is contained in:
parent
ad5c86604b
commit
a3e6353c05
1 changed files with 0 additions and 3 deletions
|
@ -21,9 +21,6 @@ pub fn wrealpath(pathname: &wstr) -> Option<WString> {
|
||||||
narrow_path.pop();
|
narrow_path.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
// `from_bytes` is Unix specific but there isn't really any other way to do this
|
|
||||||
// since `libc::realpath` is also Unix specific. I also don't think we support Windows
|
|
||||||
// outside of WSL + Cygwin (which should be fairly Unix-like anyways)
|
|
||||||
let narrow_res = canonicalize(OsStr::from_bytes(&narrow_path));
|
let narrow_res = canonicalize(OsStr::from_bytes(&narrow_path));
|
||||||
|
|
||||||
let real_path = if let Ok(result) = narrow_res {
|
let real_path = if let Ok(result) = narrow_res {
|
||||||
|
|
Loading…
Reference in a new issue