Refactored iter (libstd/option.rs)

Using s.as_ref() instead of match