Skip to content

Commit

Permalink
Run 'cargo fmt'
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Mar 21, 2019
1 parent 8e85e0d commit 0cdf589
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub struct Dependency {
pub kind: Option<DependencyKind>,
#[serde(skip_serializing_if = "Option::is_none")]
pub package: Option<String>,
pub public: bool
pub public: bool,
}

pub struct Repository {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/builders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ impl DependencyBuilder {
kind: None,
explicit_name_in_toml: self.explicit_name_in_toml,
registry: self.registry,
public: Some(false)
public: Some(false),
}
}
}
2 changes: 1 addition & 1 deletion src/views/krate_publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub struct EncodableCrateDependency {
pub kind: Option<DependencyKind>,
pub explicit_name_in_toml: Option<EncodableCrateName>,
pub registry: Option<String>,
pub public: Option<bool>
pub public: Option<bool>,
}

impl<'de> Deserialize<'de> for EncodableCrateName {
Expand Down

0 comments on commit 0cdf589

Please sign in to comment.