diff --git a/rcgen/examples/simple.rs b/rcgen/examples/simple.rs index 63a0ec70..f9b605f6 100644 --- a/rcgen/examples/simple.rs +++ b/rcgen/examples/simple.rs @@ -26,7 +26,7 @@ fn main() -> Result<(), Box> { let der_serialized = pem.contents(); println!("{pem_serialized}"); println!("{}", cert.serialize_private_key_pem()); - std::fs::create_dir_all("certs/")?; + fs::create_dir_all("certs/")?; fs::write("certs/cert.pem", pem_serialized.as_bytes())?; fs::write("certs/cert.der", der_serialized)?; fs::write(