mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
cargo fix --edition-idioms
This commit is contained in:
parent
b1fd6237d1
commit
2012be4a8b
203 changed files with 665 additions and 1281 deletions
|
@ -41,7 +41,7 @@ lazy_static! {
|
|||
|
||||
const FILE_CHUNK_SIZE: usize = 32768; //32 KB
|
||||
|
||||
pub type Target<'a> = &'a mut (FetchTaskTarget + Send);
|
||||
pub type Target<'a> = &'a mut (dyn FetchTaskTarget + Send);
|
||||
|
||||
pub enum Data {
|
||||
Payload(Vec<u8>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue