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:
commit
2d2a76d411
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ pub fn getcwd() -> io::Result<PathBuf> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "espidf")]
|
#[cfg(target_os = "espidf")]
|
||||||
pub fn chdir(p: &path::Path) -> io::Result<()> {
|
pub fn chdir(_p: &path::Path) -> io::Result<()> {
|
||||||
super::unsupported::unsupported()
|
super::unsupported::unsupported()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue