mort,
@mort@fosstodon.org avatar

@Crell I should've clarified but I ran out of characters :p Semicolons after the last line in a block in Rust aren't optional, they do have semantic meaning, but they are optional in practice a lot of the time. For example, it usually makes no difference whether an if statement technically evaluates to a value or not, so in effect, the last semicolon in the body of an if statement is usually optional.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Kotlin
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • Durango
  • ethstaker
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • osvaldo12
  • JUstTest
  • tacticalgear
  • cubers
  • cisconetworking
  • anitta
  • provamag3
  • modclub
  • mdbf
  • GTA5RPClips
  • tester
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines