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")?;