Skip to content

Commit abcdecb

Browse files
committed
chore(docs): small touchups
1 parent fdb9b07 commit abcdecb

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ let mut interner = Interner::<String, RandomState>::new(RandomState::new());
155155

156156
let handle = interner.intern_owned("even faster hashing!".to_string()).unwrap();
157157

158-
println!("Interned with ahash and got handle: {:?}", handle);
158+
println!("Interned with ahash and got handle: {handle:?}");
159159
```
160160

161161
You can see more rust hash benchmarks here: [Rust Hash Benchmarks](https://github.com/ogxd/gxhash?tab=readme-ov-file#benchmarks). Please make sure you understand the security and safety characteristics of your use case and your chosen algorithm before using it.

coverage.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
#!/usr/bin/env bash
2+
23
set -euo pipefail
34

4-
# --- Defaults (edit if you want) ---
5+
# --- Defaults ---
56
OUT_FILE="coverage.json"
67
DEFAULT_COV_ARGS=(--workspace --all-features)
78
CACHE_SECONDS=3600
89

910
usage() {
1011
cat <<'EOF'
1112
Usage:
12-
scripts/update_coverage_badge.sh [--out path/to/coverage.json] [-- <extra cargo llvm-cov args>]
13+
coverage.sh [--out path/to/coverage.json] [-- <extra cargo llvm-cov args>]
1314
1415
Examples:
15-
scripts/update_coverage_badge.sh
16-
scripts/update_coverage_badge.sh --out badges/coverage.json
17-
scripts/update_coverage_badge.sh -- --package my_crate
18-
scripts/update_coverage_badge.sh -- --ignore-filename-regex '(/tests/|/generated/)'
16+
coverage.sh
17+
coverage.sh --out badges/coverage.json
18+
coverage.sh -- --package my_crate
19+
coverage.sh -- --ignore-filename-regex '(/tests/|/generated/)'
1920
EOF
2021
}
2122

0 commit comments

Comments
 (0)