[英]How to remove Rust clippy warning `consider using the `vec![]` macro: `let mut https: Vec<u8> = vec![..];`
我有以下 rust 代碼。let mut https: Vec<u8>= Vec::new(); https.push(b'/'); 當我運行cargo clippy時,我得到以下警告warning: calls to `push` immediately after creatio ...