Skip to content

Commit

Permalink
Finally fix typos detected by typos tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 22, 2023
1 parent 2321eb9 commit a69f873
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion _typos.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
[default]
extend-ignore-identifiers-re = [
"[a-f0-9]{7,}",
"[Ff][Oo][Oo]",
"[a-zA-Z0-9]{20,}",
]

[files]
extend-exclude = ["**/CHANGELOG.md", "**/tests/fixtures/**"]
extend-exclude = [
"**/CHANGELOG.md",
"**/tests/fixtures/**",
"gix-config/benches/large_config_file.rs",
"gix-glob/tests/wildmatch/mod.rs"
]


[default.extend-words]
rela = "rela"
Expand Down
2 changes: 1 addition & 1 deletion gix-pack/src/data/output/count/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl PackLocation {
}

impl Count {
/// Create a new instance from the given `oid` and its corresponding git `obj`ect data.
/// Create a new instance from the given `oid` and its corresponding location.
pub fn from_data(oid: impl Into<ObjectId>, location: Option<crate::data::entry::Location>) -> Self {
Count {
id: oid.into(),
Expand Down
2 changes: 1 addition & 1 deletion gix-pack/src/data/output/entry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl output::Entry {
})
}

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

0 comments on commit a69f873

Please sign in to comment.