~/lightning

Rust Quiz

Lightningat Rust Belt Rust 2018 · 2018-10-19..10-20· [rust]
slides:none on file

Four short Rust programs compile and print the numbers 1, 1 2 4 3, 1 2 3, and 1. Each example delivers a specific gotcha: method‑call vs field disambiguation makes the first print 1, drop semantics and binding by value vs reference reorder drops in the second, a closure parsed as two statements causes the surprising third result, and a match arm capturing any value earlier makes the final arm dead code so the last prints 1.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Questions
  3. 2:22High Question
  4. 3:35End Question
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.