Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tdejager committed Sep 28, 2023
1 parent e8fe6ec commit eb34c3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions crates/rattler_installs_packages/src/requirement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ impl Deref for PackageRequirement {
#[derive(Debug, Clone, PartialEq, Eq, DeserializeFromStr, SerializeDisplay)]
pub struct UserRequirement(Requirement);


impl UserRequirement {
pub fn into_inner(self) -> Requirement {
self.0
Expand All @@ -336,7 +335,6 @@ impl UserRequirement {
}
}


impl Display for UserRequirement {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.0.fmt(f)
Expand Down
8 changes: 6 additions & 2 deletions crates/rip_bin/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ use resolvo::{DefaultSolvableDisplay, DependencyProvider, Solver};
use tracing_subscriber::{fmt, layer::SubscriberExt, util::SubscriberInitExt, EnvFilter};

Check warning on line 7 in crates/rip_bin/src/main.rs

View workflow job for this annotation

GitHub Actions / Format and Lint

Diff in /home/runner/work/rip/rip/crates/rip_bin/src/main.rs
use url::Url;

use rattler_installs_packages::{normalize_index_url, resolvo_pypi::{PypiDependencyProvider, PypiPackageName}, UserRequirement};
use rattler_installs_packages::{PackageRequirement, Requirement};
use rattler_installs_packages::{
normalize_index_url,
resolvo_pypi::{PypiDependencyProvider, PypiPackageName},
UserRequirement,

Check warning on line 13 in crates/rip_bin/src/main.rs

View workflow job for this annotation

GitHub Actions / Format and Lint

Diff in /home/runner/work/rip/rip/crates/rip_bin/src/main.rs
};
use rattler_installs_packages::{Requirement};

#[derive(Parser)]
#[command(author, version, about, long_about = None)]
Expand Down

0 comments on commit eb34c3a

Please sign in to comment.