Skip to content

Commit

Permalink
Rollup merge of rust-lang#32640 - jseyfried:remove_println, r=Manishe…
Browse files Browse the repository at this point in the history
…arth

Remove accidental `println!`

This removes a use of `println!` added in rust-lang#32358 that appears to accidental.
r? @Manishearth
  • Loading branch information
Manishearth committed Apr 1, 2016
2 parents 70ae2a1 + 5428e6e commit d611cc0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_typeck/check/method/suggest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ use super::probe::Mode;

fn is_fn_ty<'a, 'tcx>(ty: &Ty<'tcx>, fcx: &FnCtxt<'a, 'tcx>, span: Span) -> bool {
let cx = fcx.tcx();
println!("{:?}", ty);
match ty.sty {
// Not all of these (e.g. unsafe fns) implement FnOnce
// so we look for these beforehand
Expand Down

0 comments on commit d611cc0

Please sign in to comment.