Merge pull request #227 from amousset/clippt-fix

feat(all): Apply clippy advice
This commit is contained in:
Alexis Mousset
2018-02-21 00:01:19 +01:00
committed by GitHub
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
person obtaining a copy of this software and associated

View File

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