mirror of
https://github.com/darakian/ddh.git
synced 2026-09-10 07:06:21 -04:00
add syntax highlighting in README
This commit is contained in:
parent
1d4f4922ba
commit
6e44732dda
|
|
@ -16,7 +16,7 @@ This tool is called DDH for two very good reasons.
|
|||
DDH is usable both as a library and as a stand alone CLI tool and aims to be simple to use in both cases.
|
||||
|
||||
## Library example
|
||||
```
|
||||
```rust
|
||||
let (files, errors): (Vec<Fileinfo>, Vec<(_, _)>) = ddh::deduplicate_dirs(dirs);
|
||||
let (shared, unique): (Vec<&Fileinfo>, Vec<&Fileinfo>) = files
|
||||
.par_iter()
|
||||
|
|
|
|||
Loading…
Reference in a new issue