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`.
This commit is contained in:
Michael Goulet 2023-12-05 14:52:40 -05:00 committed by GitHub
commit 2d2a76d411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
}