O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

stmt

Statements are much like expressions, except that more patterns are accepted by stmt. The following are some examples:

  • foo
  • 1
  • 1+2
  • let x = 1

Especially, the last one wouldn't be accepted by expr.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required