Feb 24th, 2020
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn example(){
  2.     let a = "Hello, World";  // note: `let`是不可變的
  3.     println!("{}", a);
  4.     {
  5.         let a  = 12345; // 覆蓋
  6.         println!("{}", a);
  7.     }   // note: 當裡頭a消滅,外頭a隨之死亡。
  8. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.