Skip to content

Commit

Permalink
Fix README example
Browse files Browse the repository at this point in the history
  • Loading branch information
YuhanLiin committed Jul 13, 2024
1 parent ff039a2 commit 17b9318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
```

Expand Down

0 comments on commit 17b9318

Please sign in to comment.