Merge commit 'a98e7ab8b9' into clippyup
This commit is contained in:
commit
cce9231c19
102 changed files with 1850 additions and 1006 deletions
|
|
@ -8,13 +8,13 @@ fn main() {
|
|||
let mut v = Vec::new();
|
||||
|
||||
// These should fail
|
||||
writeln!(&mut v);
|
||||
writeln!(v);
|
||||
|
||||
let mut suggestion = Vec::new();
|
||||
writeln!(&mut suggestion);
|
||||
writeln!(suggestion);
|
||||
|
||||
// These should be fine
|
||||
writeln!(&mut v);
|
||||
writeln!(&mut v, " ");
|
||||
write!(&mut v, "");
|
||||
writeln!(v);
|
||||
writeln!(v, " ");
|
||||
write!(v, "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue