]> git.lizzy.rs Git - rust.git/commit
liburl: rename and move path_from_str to Path::parse_str.
authorKevin Butler <haqkrs@gmail.com>
Fri, 20 Jun 2014 00:30:12 +0000 (01:30 +0100)
committerKevin Butler <haqkrs@gmail.com>
Fri, 4 Jul 2014 00:26:48 +0000 (01:26 +0100)
commita9e82e145e61f4b9825b4622f78ea9364387ae70
treeda7bedb668173a37ea74037e3a44cd08ebd0d8b7
parent2194fd7569b227ba083c4f27e156af939e061c1b
liburl: rename and move path_from_str to Path::parse_str.

url::path_from_str => url::Path::parse_str

The FromStr trait still works, but its confusing to have a path_from_str
free function that retuns a Result, while the regular from_str style
functions return an Option, hence the rename to indicate a Result.

[breaking-change]
src/liburl/lib.rs