Guest User

Untitled

a guest
Jan 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #![allow(unreachable_code)]
  2.  
  3.  
  4. fn main() {
  5. println!("{:?}", {
  6. for a in 1i32..5 { println!("{}", a.pow(2)); }
  7. });
  8. }
  9.  
  10.  
  11. /* ~~~~=== stderr ===~~~~
  12. Compiling playground v0.0.1 (/playground)
  13. Finished dev [unoptimized + debuginfo] target(s) in 0.59s
  14. Running `target/debug/playground`
  15.  
  16. */
  17.  
  18. /* ~~~~=== stdout ===~~~~
  19. 1
  20. 4
  21. 9
  22. 16
  23. ()
  24.  
  25. */
Add Comment
Please, Sign In to add comment