Skip to content

Commit

Permalink
Simplify windows-registry readme (microsoft#3035)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored and mati865 committed Jun 15, 2024
1 parent 8f65cc9 commit be6c44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/registry/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Read and write registry keys and values as needed:
use windows_registry::*;
fn main() -> Result<()> {
let key = CURRENT_USER.create(r#"software\\windows-rs"#)?;
let key = CURRENT_USER.create("software\\windows-rs")?;
key.set_u32("number", 123)?;
key.set_string("name", "Rust")?;
Expand Down

0 comments on commit be6c44d

Please sign in to comment.