Des exemples de code pour programmer en Rust
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

8 行
160 B

  1. fn main() {
  2. funt(100, 200) ; // appelle la fonction
  3. }
  4. fn funt(x : i32, y : i32) { // définit une fonction
  5. println ! ("La somme est : { }", x + y) ;
  6. }