Skip to content

Commit a69f873

Browse files
committed
Finally fix typos detected by typos tool.
1 parent 2321eb9 commit a69f873

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

Diff for: _typos.toml

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
[default]
2+
extend-ignore-identifiers-re = [
3+
"[a-f0-9]{7,}",
4+
"[Ff][Oo][Oo]",
5+
"[a-zA-Z0-9]{20,}",
6+
]
7+
18
[files]
2-
extend-exclude = ["**/CHANGELOG.md", "**/tests/fixtures/**"]
9+
extend-exclude = [
10+
"**/CHANGELOG.md",
11+
"**/tests/fixtures/**",
12+
"gix-config/benches/large_config_file.rs",
13+
"gix-glob/tests/wildmatch/mod.rs"
14+
]
15+
316

417
[default.extend-words]
518
rela = "rela"

Diff for: gix-pack/src/data/output/count/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl PackLocation {
3030
}
3131

3232
impl Count {
33-
/// Create a new instance from the given `oid` and its corresponding git `obj`ect data.
33+
/// Create a new instance from the given `oid` and its corresponding location.
3434
pub fn from_data(oid: impl Into<ObjectId>, location: Option<crate::data::entry::Location>) -> Self {
3535
Count {
3636
id: oid.into(),

Diff for: gix-pack/src/data/output/entry/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl output::Entry {
126126
})
127127
}
128128

129-
/// Create a new instance from the given `oid` and its corresponding git `obj`ect data.
129+
/// Create a new instance from the given `oid` and its corresponding git object data `obj`.
130130
pub fn from_data(count: &output::Count, obj: &gix_object::Data<'_>) -> Result<Self, Error> {
131131
Ok(output::Entry {
132132
id: count.id.to_owned(),

0 commit comments

Comments
 (0)