mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove unused mut in servo-util.
This commit is contained in:
parent
077b481894
commit
3d745fc43b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ Create a URL object from a string. Does various helpful browsery things like
|
|||
*/
|
||||
#[allow(non_implicitly_copyable_typarams)]
|
||||
pub fn make_url(str_url: ~str, current_url: Option<Url>) -> Url {
|
||||
let mut schm = url::get_scheme(str_url);
|
||||
let schm = url::get_scheme(str_url);
|
||||
let str_url = if result::is_err(&schm) {
|
||||
if current_url.is_none() {
|
||||
// Assume we've been given a file path. If it's absolute just return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue