Remove redundant comment, fish targets Unix-like systems

This commit is contained in:
Johannes Altmanninger 2023-04-01 18:32:06 +02:00
parent ad5c86604b
commit a3e6353c05

View file

@ -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 {