]> git.lizzy.rs Git - rust.git/commit
liburl: Remove some unnecessary allocations.
authorKevin Butler <haqkrs@gmail.com>
Mon, 23 Jun 2014 22:13:11 +0000 (23:13 +0100)
committerKevin Butler <haqkrs@gmail.com>
Fri, 4 Jul 2014 00:33:41 +0000 (01:33 +0100)
commitfeaad623a12aeb1ce4ee3dabf251e36ccdfe7107
treeea4dace5bcc7a1d84b0b03ff6189aa90d357c005
parent11b093425d44b9e14c4c3cace4d7ee691c56e25b
liburl: Remove some unnecessary allocations.

Some signatures have changed from String to &str returns.

To fix, call to_string() on the returned value.

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