Translate ByteString in WebIDL to [u8] (#505)

In arguments take `&[u8]` and in return value return `Vec<u8>`. Should help fill
out a few more APIs on `Header` and `Response`!
This commit is contained in:
Alex Crichton
2018-07-18 17:59:24 -05:00
committed by GitHub
parent 32fa5724dd
commit 9b6804a01b
5 changed files with 46 additions and 6 deletions

View File

@ -1,6 +1,8 @@
#![recursion_limit = "256"]
#![cfg_attr(feature = "extra-traits", deny(missing_debug_implementations))]
#[macro_use]
extern crate log;
extern crate proc_macro2;
#[macro_use]
extern crate quote;