Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tdejager committed Aug 28, 2023
1 parent 288171d commit cfda176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rattler_conda_types/src/version_spec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ impl Display for VersionSpec {
},
VersionSpec::Range(op, version) => {
write!(f, "{}{}", op, version)
},
}
VersionSpec::Exact(op, version) => {
write!(f, "{}{}", op, version)
},
}
VersionSpec::Group(op, group) => {
let requires_parenthesis = *op == LogicalOperator::And && part_of_or;
if requires_parenthesis {
Expand Down

0 comments on commit cfda176

Please sign in to comment.