clear some warnings

This commit is contained in:
Oliver Gould
2017-07-20 18:29:36 +00:00
parent a62d3dda54
commit 44edd6a4d4
10 changed files with 18 additions and 39 deletions

View File

@@ -31,13 +31,13 @@ impl FlowControlState {
}
}
pub fn with_next_update(next_window_update: WindowSize) -> FlowControlState {
FlowControlState {
window_size: 0,
underflow: 0,
next_window_update,
}
}
// pub fn with_next_update(next_window_update: WindowSize) -> FlowControlState {
// FlowControlState {
// window_size: 0,
// underflow: 0,
// next_window_update,
// }
// }
/// Reduce future capacity of the window.
///