From 1afefbeee8028ad837bd8024a580562f098dfa5a Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Mon, 13 May 2024 13:27:14 -0500 Subject: [PATCH] Simplify `windows-registry` readme (#3035) --- 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")?;