Skip to content

Commit d0d7570

Browse files
committed
fix docs
1 parent 96a2435 commit d0d7570

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ Options:
3232
-v, --verbose...
3333
Increase logging verbosity
3434

35-
-b, --block-size <BLOCK_SIZE>
36-
Block size used during term compression
37-
38-
Every Nth term will be stored fully while others will only contain everything besides the longest common prefix of the last Nth term
39-
40-
[default: 16]
41-
4235
-q, --quiet...
4336
Decrease logging verbosity
4437

@@ -51,12 +44,11 @@ Options:
5144
HDT files can be generated directly in Rust.
5245

5346
```rust
54-
use rdf2hdt::hdt::{buld_hdt, Options};
47+
use rdf2hdt::hdt::buld_hdt;
5548

5649
let result = build_hdt(
5750
vec!["tests/resources/apple.ttl".to_string()],
5851
"output.hdt",
59-
Options::default(),
6052
)?;
6153
```
6254

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// Licensed under the BSD 3-Clause License (see LICENSE file in the project root).
33

44
pub mod builder;
5-
pub mod rdf_reader;
5+
pub(crate) mod rdf_reader;

src/rdf_reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use std::{
1414
path::Path,
1515
};
1616

17-
pub fn convert_to_nt(
17+
pub(crate) fn convert_to_nt(
1818
file_paths: Vec<String>,
1919
output_file: std::fs::File,
2020
) -> Result<(), Box<dyn Error>> {

0 commit comments

Comments
 (0)