From c4096abb9813a973bfc40d49c3a9605d3b20cb55 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Mon, 13 May 2024 12:51:38 -0500 Subject: [PATCH] readme --- crates/libs/registry/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/libs/registry/readme.md b/crates/libs/registry/readme.md index 838f8c8021..ab4c5ebd43 100644 --- a/crates/libs/registry/readme.md +++ b/crates/libs/registry/readme.md @@ -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")?;