Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn foo(x: u32) -> u8 {
- x as u8
- }
- fn main() {
- let x = foo(4);
- println!("{}", x);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement