feat(all): Apply clippy advice

This commit is contained in:
Alexis Mousset
2018-02-20 23:47:53 +01:00
parent 4f11ae61ef
commit 53e79d9620
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
Copyright (c) 2014-2017 Alexis Mousset Copyright (c) 2014-2018 Alexis Mousset
Permission is hereby granted, free of charge, to any Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated person obtaining a copy of this software and associated

View File

@@ -61,7 +61,8 @@ impl ClientCodec {
start = idx; start = idx;
} }
} }
Ok(buf.write_all(&frame[start..])?) buf.write_all(&frame[start..])?;
Ok(())
} }
} }
} }