Skip to content

Commit

Permalink
docs: fix typos (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng authored Jul 29, 2022
1 parent 15ac3c7 commit 78562c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The gist of it is:

#### Added

- Links to code items in the code documenation.
- Links to code items in the code documentation.
- New `"serde"` feature that allows serializing some library types, useful for making simple reproducible bug reports.
- New variants for `error::PubGrubError` which are `DependencyOnTheEmptySet`,
`SelfDependency`, `ErrorChoosingPackageVersion` and `ErrorInShouldCancel`.
Expand Down
6 changes: 3 additions & 3 deletions src/internal/small_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ pub mod tests {

proptest! {
#[test]
fn push_and_pop(comands: Vec<Option<u8>>) {
fn push_and_pop(commands: Vec<Option<u8>>) {
let mut v = vec![];
let mut sv = SmallVec::Empty;
for comand in comands {
match comand {
for command in commands {
match command {
Some(i) => {
v.push(i);
sv.push(i);
Expand Down
2 changes: 1 addition & 1 deletion src/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ pub mod tests {
}
}

// If we still have a start bound, but didnt have enough deltas to complete another
// If we still have a start bound, but didn't have enough deltas to complete another
// segment, we add an unbounded upperbound.
if let Some(start_bound) = start {
segments.push((start_bound, Unbounded));
Expand Down

0 comments on commit 78562c5

Please sign in to comment.