mozilla/rust — Issue #1943: Rename core::vec::last_total to core::vec::last
Author: brson
Created: 2012-03-08 01:39:42+00:00
State: open

The current `vec::last` returns an option if there are no elements to return, while all the related functions fail. `vec::last` should just fail as well when the vec is empty