Skip to content

Commit 0d96595

Browse files
committed
README updates
1 parent 413f1e2 commit 0d96595

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ Options:
5858
HDT files can be generated directly in Rust.
5959

6060
```rust
61-
use rdf2hdt::hdt::buld_hdt;
61+
use rdf2hdt::build_hdt;
6262

63-
let result = build_hdt(
64-
vec!["tests/resources/apple.ttl".to_string()],
65-
"output.hdt",
63+
let hdt = build_hdt(
64+
&["tests/resources/apple.ttl"],
65+
"output.hdt",
6666
)?;
6767
```
6868

0 commit comments

Comments
 (0)