Skip to content

Instantly share code, notes, and snippets.

View MitchCarroll's full-sized avatar
💭
A million little projects

C. Mitch Carroll MitchCarroll

💭
A million little projects
  • INL
  • Idaho Falls, ID
View GitHub Profile

% A Guide to Rust Syntax

A very brief guide to Rust syntax. It assumes you are already familiar with programming concepts.

Assert macro

The assert! macro ends the program if the condition passed to it is not true:

fn main() {