Skip to content

Comments

Comments is text embedded in source code that compiler just ignores. Generally it used only for you and other developers.

Syntax

deen
// Comment text

Examples

// comment here
fn main() i32 { // comment here
  // and here
  let a: i32 = 0; // also here
  return a;
}