Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Dec 8, 2023
1 parent b035fd8 commit 5ce943a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/puffin-resolver/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ impl std::fmt::Display for NoSolutionError {
}

impl NoSolutionError {
/// Update the available versions attached to the error using the given package version index.
///
/// Only packages used in the error's deriviation tree will be retrieved.
pub(crate) fn update_available_versions(
mut self,
package_versions: &WaitMap<PackageName, (IndexUrl, VersionMap)>,
Expand Down

0 comments on commit 5ce943a

Please sign in to comment.