SHARE
TWEET

Untitled

a guest Jul 18th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static x: [bool; 3] = [
  2.     f(0),
  3.     f(1),
  4.     f(2),
  5. ];
  6.  
  7. const fn f(n: u8) -> bool {
  8.     n % 2 == 0
  9. }
  10.  
  11. fn main() {
  12.     println!("x: {:?}", x)
  13. }
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