diff options
| author | Duo Wang <duo.wang@sony.com> | 2023-11-10 12:51:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-10 12:51:41 -0800 |
| commit | ed87ecc4d00411bde0f7db08052baf3ebcaa485c (patch) | |
| tree | a46b92bc5b897593b7539b8ccf20e57a257c896a | |
| parent | d4c86cfc4984293d642e5b4f7eece60a6e83e264 (diff) | |
| download | rust-ed87ecc4d00411bde0f7db08052baf3ebcaa485c.tar.gz rust-ed87ecc4d00411bde0f7db08052baf3ebcaa485c.zip | |
Update variable name to fix `unused_variables` warning
| -rw-r--r-- | library/std/src/sys/unix/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/os.rs b/library/std/src/sys/unix/os.rs index dc3c037c0cb..bca2959a81a 100644 --- a/library/std/src/sys/unix/os.rs +++ b/library/std/src/sys/unix/os.rs @@ -180,7 +180,7 @@ pub fn getcwd() -> io::Result<PathBuf> { } #[cfg(target_os = "espidf")] -pub fn chdir(p: &path::Path) -> io::Result<()> { +pub fn chdir(_p: &path::Path) -> io::Result<()> { super::unsupported::unsupported() } |
