Update README.md

pull/128/head
Dhghomon 3 years ago committed by GitHub
parent a7de2b3b39
commit d6c6442eaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13016,7 +13016,7 @@ We know that you can use attributes like `#[cfg(test)]` and `#[cfg(windows)]` to
```rust
fn main() {
let helpful_message = if cfg!(windows) { "backslash" } else { "slash" };
let helpful_message = if cfg!(target_os = "windows") { "backslash" } else { "slash" };
println!(
"...then in your hard drive, type the directory name followed by a {}. Then you...",

Loading…
Cancel
Save