chore: 2018 edition clean up (#386)

This commit is contained in:
Gurwinder Singh
2019-07-25 23:00:52 +05:30
committed by Sean McArthur
parent db6b841e67
commit f4dec6efa4
2 changed files with 1 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ impl FuzzHpack {
frame.resizes.extend(&[low, high]);
},
1...3 => {
1..=3 => {
frame.resizes.push(rng.gen_range(128, MAX_CHUNK * 2));
},
_ => {},

View File

@@ -14,12 +14,6 @@
//! h2 = "0.1"
//! ```
//!
//! Next, add this to your crate:
//!
//! ```no_run
//! extern crate h2;
//! ```
//!
//! # Layout
//!
//! The crate is split into [`client`] and [`server`] modules. Types that are