Skip to content

Commit

Permalink
Updated Code to Pass Checks With Rust 1.44 (#479)
Browse files Browse the repository at this point in the history
* fixed unneeded clone in main.rs and cargo fmt

* added rustfmt.toml

* fixed fmt issues
  • Loading branch information
flodesi authored Jun 5, 2020
1 parent 9cc24d7 commit afb1fc8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions blockchain/beacon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

pub mod beacon_entries;
mod drand;
#[rustfmt::skip]
mod drand_api;
mod group;
mod identity;
Expand Down
2 changes: 1 addition & 1 deletion forest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn main() {
let network_send = p2p_service.network_sender();

// Get Drand Coefficients
let coeff = config.drand_dist_public.clone();
let coeff = config.drand_dist_public;

// Start services
let p2p_thread = task::spawn(async {
Expand Down
1 change: 1 addition & 0 deletions ipld/graphsync/src/message/proto/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright 2020 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT

#[rustfmt::skip]
mod message;

pub use self::message::*;

0 comments on commit afb1fc8

Please sign in to comment.