mozilla/rust — pull request #8750 by kballard (2013-08-26 00:08:56+00:00)
Title: Add function str::from_bytes_slice_opt()

Variant of from_bytes_slice() that returns an Option instead of failing.