]> git.lizzy.rs Git - rust.git/commit
liburl: rename and move from_str to Url::parse_str.
authorKevin Butler <haqkrs@gmail.com>
Fri, 20 Jun 2014 00:11:32 +0000 (01:11 +0100)
committerKevin Butler <haqkrs@gmail.com>
Fri, 4 Jul 2014 00:22:32 +0000 (01:22 +0100)
commit2194fd7569b227ba083c4f27e156af939e061c1b
tree34dee3dfe5d93f0a4d671aeeb1b2bcbf2bf2ccc8
parentdd812ccbb56193c36819993dea25912788b447f0
liburl: rename and move from_str to Url::parse_str.

url::from_str => url::Url::parse_str

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

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