]> git.lizzy.rs Git - rust.git/commit
Make mut_last return Option instead of failing on empty vector (and add a test for...
authorNathaniel Herman <nherman@college.harvard.edu>
Sun, 26 Jan 2014 16:24:34 +0000 (11:24 -0500)
committerNathaniel Herman <nherman@college.harvard.edu>
Thu, 30 Jan 2014 23:41:57 +0000 (18:41 -0500)
commitd9fadbc04f5bbd520e4ce8665ac128288e9846c0
tree006966367d42bf95b22afbd73fabbae5d44a52e4
parent339603426e65896a06fcebf63f3d751f242ee820
Make mut_last return Option instead of failing on empty vector (and add a test for mut_last)
src/librustc/middle/trans/cleanup.rs
src/libstd/vec.rs
src/libsyntax/opt_vec.rs