Skip to content

Commit

Permalink
Unrolled build for rust-lang#117793
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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`.
  • Loading branch information
rust-timer authored Dec 6, 2023
2 parents 84a554c + ed87ecc commit a73474a
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 a73474a

Please sign in to comment.