Skip to content

Commit

Permalink
fix: clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Nov 24, 2023
1 parent 33519c9 commit 060898a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lock_file/satisfiability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn lock_file_satisfies_project(
.peekable();

// Determine the python marker environment from the lock-file.
let python_maker_env = if pypi_dependencies.peek().is_some() {
let python_marker_env = if pypi_dependencies.peek().is_some() {
// Determine the python executable
let Ok(conda_packages) = lock_file
.get_conda_packages_by_platform(platform) else {
Expand Down Expand Up @@ -222,7 +222,7 @@ pub fn lock_file_satisfies_project(
return Ok(false);
};
// Filter the requirement based on the environment markers
if !python_maker_env
if !python_marker_env
.as_ref()
.map(|env| {
req.evaluate_markers(
Expand Down

0 comments on commit 060898a

Please sign in to comment.