Skip to content

Commit

Permalink
Rollup merge of #117793 - wdunicornpro:patch-1, r=workingjubilee
Browse files Browse the repository at this point in the history
Update variable name to fix `unused_variables` warning

This PR fixes an `unused_variables` warning within `os.rs` when targeting `espidf`.
  • Loading branch information
compiler-errors authored Dec 5, 2023
2 parents ec94480 + ed87ecc commit 2d2a76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/unix/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 2d2a76d

Please sign in to comment.