diff options
| author | Michael Goulet <michael@errs.io> | 2023-12-05 14:52:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-05 14:52:40 -0500 |
| commit | 2d2a76d411911a58fab02770363055175b5154d3 (patch) | |
| tree | adb55344df5d4b3bc67c593f1d72dc103aa52fae | |
| parent | ec94480d9877e9c7ccf1255ab592dfc85d07ec50 (diff) | |
| parent | ed87ecc4d00411bde0f7db08052baf3ebcaa485c (diff) | |
| download | rust-2d2a76d411911a58fab02770363055175b5154d3.tar.gz rust-2d2a76d411911a58fab02770363055175b5154d3.zip | |
Rollup merge of #117793 - wdunicornpro:patch-1, r=workingjubilee
Update variable name to fix `unused_variables` warning This PR fixes an `unused_variables` warning within `os.rs` when targeting `espidf`.
| -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 077698a462c..881b3a25c51 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() } |
