Fix 658 and compiler complaints (#661)
* Tried but failed to fix `cargo build` complaint about unused #[macro use]. See also 7a803a8dc1
* Compiler complaints be-gone
* Give sumtree tests method-tagged folder names so they don't overwrite each others' files
Fixes #658
This commit is contained in:
committed by
Ignotus Peverell
parent
783e4c250d
commit
86ff4e5bd0
+1
-1
@@ -107,7 +107,7 @@ pub fn write_msg<T>(
|
||||
where
|
||||
T: Writeable + 'static,
|
||||
{
|
||||
let write_msg = ok((conn)).and_then(move |conn| {
|
||||
let write_msg = ok(conn).and_then(move |conn| {
|
||||
// prepare the body first so we know its serialized length
|
||||
let mut body_buf = vec![];
|
||||
ser::serialize(&mut body_buf, &msg).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user