Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest Rust #435

Merged
merged 10 commits into from May 10, 2013
Next

Remove unused mut in servo-util.

  • Loading branch information
metajack committed May 10, 2013
commit 3d745fc43ba8c92c88b24c55086a02355839b978
@@ -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
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.