Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 21st, 2019
85
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
pub fn foo(arg: &[i32]) -> Box<[i32]> {
Box::new(arg)
}
fn main() {
let y = foo(&[1, 2, 3]);
println!("{}", y.len())
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 3 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 41 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Keylogger.py
Python | 1 hour ago | 5.00 KB
Combobox
Python | 1 hour ago | 0.95 KB
Untitled
C++ | 1 hour ago | 1.42 KB
StargateDialing
Lua | 1 hour ago | 3.93 KB
Untitled
Python | 1 hour ago | 2.42 KB
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
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!