Skip to content

Commit 39f35da

Browse files
authored
Merge pull request #1248 from joshtriplett/tyop
Typo fixes
2 parents 1ba9488 + 3ef3bc2 commit 39f35da

File tree

39 files changed

+48
-48
lines changed

39 files changed

+48
-48
lines changed

gitoxide-core/src/corpus/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub fn create(path: impl AsRef<std::path::Path>) -> anyhow::Result<rusqlite::Con
131131
task integer,
132132
gitoxide_version integer,
133133
insertion_time integer NOT NULL, -- in seconds since UNIX epoch
134-
duration real, -- in seconds or NULL if not yet finished (either successfull or with failure)
134+
duration real, -- in seconds or NULL if not yet finished (either successful or with failure)
135135
error text, -- or NULL if there was no error
136136
spans_json text, -- all spans collecteted while performing the run
137137
FOREIGN KEY (repository) REFERENCES repository (id),

gitoxide-core/src/repository/commitgraph/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub(crate) mod function {
2727
let commits = id
2828
.object()?
2929
.peel_to_kind(gix::object::Kind::Commit)
30-
.context("Need commitish as starting point")?
30+
.context("Need committish as starting point")?
3131
.id()
3232
.ancestors()
3333
.sorting(Sorting::ByCommitTimeNewestFirst)

gitoxide-core/src/repository/fsck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn function(mut repo: gix::Repository, spec: Option<String>, mut out: impl s
1414
let commits: gix::revision::Walk<'_> = id
1515
.object()?
1616
.peel_to_kind(gix::object::Kind::Commit)
17-
.context("Need commitish as starting point")?
17+
.context("Need committish as starting point")?
1818
.id()
1919
.ancestors()
2020
.all()?;

gitoxide-core/src/repository/revision/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub(crate) mod function {
4949
let commits = id
5050
.object()?
5151
.peel_to_kind(gix::object::Kind::Commit)
52-
.context("Need commitish as starting point")?
52+
.context("Need committish as starting point")?
5353
.id()
5454
.ancestors()
5555
.sorting(Sorting::ByCommitTimeNewestFirst)

gix-command/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ mod prepare {
8686

8787
/// Builder
8888
impl Prepare {
89-
/// If called, the command will not be executed directly, but with `sh`, but ony if the
89+
/// If called, the command will not be executed directly, but with `sh`, but only if the
9090
/// command passed to [`prepare`](super::prepare()) requires this.
9191
///
9292
/// This also allows to pass shell scripts as command, or use commands that contain arguments which are subsequently

gix-commitgraph/src/file/access.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl File {
1616
self.base_graph_count
1717
}
1818

19-
/// Returns the commit data for the commit located at the given lexigraphical position.
19+
/// Returns the commit data for the commit located at the given lexicographical position.
2020
///
2121
/// `pos` must range from 0 to `self.num_commits()`.
2222
///
@@ -40,7 +40,7 @@ impl File {
4040
pub fn id_at(&self, pos: file::Position) -> &gix_hash::oid {
4141
assert!(
4242
pos.0 < self.num_commits(),
43-
"expected lexigraphical position less than {}, got {}",
43+
"expected lexicographical position less than {}, got {}",
4444
self.num_commits(),
4545
pos.0
4646
);
@@ -115,7 +115,7 @@ impl File {
115115
pub(crate) fn commit_data_bytes(&self, pos: file::Position) -> &[u8] {
116116
assert!(
117117
pos.0 < self.num_commits(),
118-
"expected lexigraphical position less than {}, got {}",
118+
"expected lexicographical position less than {}, got {}",
119119
self.num_commits(),
120120
pos.0
121121
);

gix-config-value/fuzz/fuzz_targets/fuzz_value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn fuzz(ctx: Ctx) -> Result<()> {
4747

4848
fuzz_target!(|ctx: Ctx| {
4949
if let Err(e) = fuzz(ctx) {
50-
// Excersize display/debug fmt code.
50+
// Exercise display/debug fmt code.
5151
_ = black_box(format!("{e} {e:?}"));
5252
}
5353
});

gix-diff/src/blob/platform.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pub mod prepare_diff {
193193
/// is `false`.
194194
///
195195
/// Use [`Outcome::interned_input()`] to easily obtain an interner for use with [`imara_diff::diff()`], or maintain one yourself
196-
/// for greater re-use.
196+
/// for greater reuse.
197197
InternalDiff {
198198
/// The algorithm we determined should be used, which is one of (in order, first set one wins):
199199
///
@@ -349,7 +349,7 @@ impl Platform {
349349
///
350350
/// ### Important
351351
///
352-
/// If an error occours, the previous resource of `kind` will be cleared, preventing further diffs
352+
/// If an error occurs, the previous resource of `kind` will be cleared, preventing further diffs
353353
/// unless another attempt succeeds.
354354
pub fn set_resource(
355355
&mut self,
Binary file not shown.

gix-features/src/interrupt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ where
8989
}
9090
}
9191

92-
/// A wrapper for implementors of [`std::io::Read`] or [`std::io::BufRead`] with interrupt support.
92+
/// A wrapper for implementers of [`std::io::Read`] or [`std::io::BufRead`] with interrupt support.
9393
///
9494
/// It fails a [read][std::io::Read::read] while an interrupt was requested.
9595
pub struct Read<'a, R> {
@@ -124,7 +124,7 @@ where
124124
}
125125
}
126126

127-
/// A wrapper for implementors of [`std::io::Write`] with interrupt checks on each write call.
127+
/// A wrapper for implementers of [`std::io::Write`] with interrupt checks on each write call.
128128
///
129129
/// It fails a [write][std::io::Write::write] while an interrupt was requested.
130130
pub struct Write<'a, W> {

0 commit comments

Comments
 (0)