Skip to content

Commit

Permalink
Fix typo in version_map.rs (#10528)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored Jan 11, 2025
1 parent 9e948b7 commit 5788cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/uv-resolver/src/version_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ impl VersionMapLazy {
let priority = if let Some(tags) = &self.tags {
match filename.compatibility(tags) {
TagCompatibility::Incompatible(tag) => {
return WheelCompatibility::Incompatible(IncompatibleWheel::Tag(tag))
return WheelCompatibility::Incompatible(IncompatibleWheel::Tag(tag));
}
TagCompatibility::Compatible(priority) => Some(priority),
}
Expand Down Expand Up @@ -565,7 +565,7 @@ impl VersionMapLazy {
/// a single version of a package.
#[derive(Debug)]
enum LazyPrioritizedDist {
/// Represents a eagerly constructed distribution from a
/// Represents an eagerly constructed distribution from a
/// `FlatDistributions`.
OnlyFlat(PrioritizedDist),
/// Represents a lazily constructed distribution from an index into a
Expand Down

0 comments on commit 5788cd2

Please sign in to comment.