graydon/rust — Issue #1194: Implicit return of last expression doesn't work
Author: boggle
Created: 2011-11-19 05:55:27+00:00
State: open

According to the tutorial, `fn foo()->int { 7 }` should be equivalent to `fn foo()->int { ret 7; }`. However, rustc right now rejects such function definitions.