Skip to content

Commit

Permalink
fix pt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Oct 26, 2024
1 parent 69d8b01 commit 4c9e89e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/rattler_conda_types/src/repo_data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ pub fn compute_package_url(

impl AsRef<PackageRecord> for PackageRecord {
fn as_ref(&self) -> &PackageRecord {
&self
self
}
}

Expand Down Expand Up @@ -392,6 +392,7 @@ pub enum ValidatePackageRecordsError {
/// The corresponding package that violates the constraint.
violating_package: PackageRecord,
},
/// Failed to parse a matchspec.
#[error(transparent)]
ParseMatchSpecError(#[from] ParseMatchSpecError),
}
Expand Down

0 comments on commit 4c9e89e

Please sign in to comment.