mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Fix obsolete format traits.
They are to be removed from the language in the next rust upgrade.
This commit is contained in:
parent
141b5d038f
commit
b51e83819d
35 changed files with 63 additions and 63 deletions
|
@ -63,7 +63,7 @@ impl<'a> PrivateHTMLAnchorElementHelpers for JSRef<'a, HTMLAnchorElement> {
|
|||
match attr {
|
||||
Some(ref href) => {
|
||||
let value = href.r().Value();
|
||||
debug!("clicked on link to {:s}", value);
|
||||
debug!("clicked on link to {}", value);
|
||||
let node: JSRef<Node> = NodeCast::from_ref(self);
|
||||
let doc = node.owner_doc().root();
|
||||
doc.r().load_anchor_href(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue