Skip to content

Commit

Permalink
Auto merge of #3231 - TimNN:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix rust-lang/rust#35203 warning/error

rust-lang/rust#35203 made patterns in functions without body into a warn by default lint (which is being `deny`ed here).

cc rust-lang/rust#37378, rust-lang/rust#37416
  • Loading branch information
bors committed Oct 26, 2016
2 parents b21b941 + 81dfab4 commit 806e3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cargotest/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ pub fn shell_writes<T: fmt::Display>(string: T) -> ShellWrites {
}

pub trait Tap {
fn tap<F: FnOnce(&mut Self)>(mut self, callback: F) -> Self;
fn tap<F: FnOnce(&mut Self)>(self, callback: F) -> Self;
}

impl<T> Tap for T {
Expand Down

0 comments on commit 806e3c3

Please sign in to comment.