Skip to content

Commit

Permalink
Simplify windows-registry readme (#3035)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored May 13, 2024
1 parent 5b8d248 commit 1afefbe
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 1afefbe

Please sign in to comment.