diff --git a/README.md b/README.md index 1583228..6f4552a 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ micropb-gen = { version = "0.1", features = ["container-heapless"] } fn main() { let mut gen = micropb_gen::Generator::new(); // Compile example.proto into a Rust module - gen.compile_protos(&["example.proto"], std::env::var("OUT_DIR").unwrap() + "example.rs").unwrap(); + gen.compile_protos(&["example.proto"], std::env::var("OUT_DIR").unwrap() + "/example.rs").unwrap(); } ```