mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 02:53:43 +00:00
faster few span methods Touched few methods, so it should be (hopefully) faster. First two changes: instead splitting string from start and taking only last piece, split it from the end. Last: swapped conditions, to first check boolean parameter.