daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pub fn foo(arg: &[i32]) -> Box<[i32]> {
  2.     Box::new(arg)
  3. }
  4.  
  5. fn main() {
  6.     let y = foo(&[1, 2, 3]);
  7.     println!("{}", y.len())
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top