mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
util: fix compile failed on Windows.
Use `std::path::MAIN_SEPARATOR_STR` instead of `std::path::MAIN_SEPARATOR`
This commit is contained in:
parent
6f5dfa3c46
commit
a61761f090
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ use std::os::unix::process::ExitStatusExt;
|
|||
#[cfg(windows)]
|
||||
use std::os::windows::fs::{symlink_dir, symlink_file};
|
||||
#[cfg(windows)]
|
||||
use std::path::MAIN_SEPARATOR;
|
||||
use std::path::MAIN_SEPARATOR_STR;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::{Child, Command, ExitStatus, Output, Stdio};
|
||||
use std::rc::Rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue