Skip to content

Commit

Permalink
Fix docstrings typos (pubgrub-rs#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin authored Jun 4, 2024
1 parent fd20c15 commit 5c45048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/solver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ pub trait DependencyProvider {
/// > But there's likely room for improvement in these heuristics.
///
/// Note: the resolver may call this even when the range has not change,
/// if it is more efficient for the resolveres internal data structures.
/// if it is more efficient for the resolvers internal data structures.
fn prioritize(&self, package: &Self::P, range: &Self::VS) -> Self::Priority;
/// The type returned from `prioritize`. The resolver does not care what type this is
/// as long as it can pick a largest one and clone it.
Expand All @@ -265,8 +265,8 @@ pub trait DependencyProvider {
type Err: Error + 'static;

/// Once the resolver has found the highest `Priority` package from all potential valid
/// packages, it needs to know what vertion of that package to use. The most common pattern
/// is to select the largest vertion that the range contains.
/// packages, it needs to know what version of that package to use. The most common pattern
/// is to select the largest version that the range contains.
fn choose_version(
&self,
package: &Self::P,
Expand Down

0 comments on commit 5c45048

Please sign in to comment.