Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![no_std]
- #![feature(drain_filter)]
- extern crate alloc;
- pub fn f(mut v: alloc::vec::Vec<u8>) {
- v.drain_filter(|_| false );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement