From be6c44d69083b26446ec4601f4f3e05622603f5f 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 838f8c8021d..ab4c5ebd43e 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")?;