Skip to content

Commit 5c45048

Browse files
authored
Fix docstrings typos (#229)
1 parent fd20c15 commit 5c45048

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/solver.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ pub trait DependencyProvider {
250250
/// > But there's likely room for improvement in these heuristics.
251251
///
252252
/// Note: the resolver may call this even when the range has not change,
253-
/// if it is more efficient for the resolveres internal data structures.
253+
/// if it is more efficient for the resolvers internal data structures.
254254
fn prioritize(&self, package: &Self::P, range: &Self::VS) -> Self::Priority;
255255
/// The type returned from `prioritize`. The resolver does not care what type this is
256256
/// as long as it can pick a largest one and clone it.
@@ -265,8 +265,8 @@ pub trait DependencyProvider {
265265
type Err: Error + 'static;
266266

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

0 commit comments

Comments
 (0)