Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel committed May 26, 2020
1 parent c0668e8 commit 4117c4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions core/market/decentralized/src/db/models/offer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ impl Offer {
}
}


#[cfg(test)]
mod tests {
use super::*;
Expand Down Expand Up @@ -108,4 +107,3 @@ mod tests {
assert!(Offer::from(&offer).is_ok());
}
}

6 changes: 1 addition & 5 deletions core/market/decentralized/src/db/schema.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

table! {
market_demand (id) {
id -> Text,
Expand All @@ -17,7 +16,4 @@ table! {
}
}

allow_tables_to_appear_in_same_query!(
market_demand,
market_offer,
);
allow_tables_to_appear_in_same_query!(market_demand, market_offer,);

0 comments on commit 4117c4b

Please sign in to comment.