Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unreachable_code)]
- fn main() {
- println!("{:?}", {
- for a in 1i32..5 { println!("{}", a.pow(2)); }
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (/playground)
- Finished dev [unoptimized + debuginfo] target(s) in 0.59s
- Running `target/debug/playground`
- */
- /* ~~~~=== stdout ===~~~~
- 1
- 4
- 9
- 16
- ()
- */
Add Comment
Please, Sign In to add comment