From ed87ecc4d00411bde0f7db08052baf3ebcaa485c Mon Sep 17 00:00:00 2001 From: Duo Wang Date: Fri, 10 Nov 2023 12:51:41 -0800 Subject: [PATCH] Update variable name to fix `unused_variables` warning --- library/std/src/sys/unix/os.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { } #[cfg(target_os = "espidf")] -pub fn chdir(p: &path::Path) -> io::Result<()> { +pub fn chdir(_p: &path::Path) -> io::Result<()> { super::unsupported::unsupported() }