Complete FIXMEs related to UFCS

This commit is contained in:
Corey Farwell 2015-07-14 09:24:53 +09:00
parent 12195a5c4a
commit 78d2fe6e9b
2 changed files with 4 additions and 28 deletions

View file

@ -2606,13 +2606,7 @@ impl<'a> ::selectors::Node<&'a Element> for &'a Node {
}
fn is_document(&self) -> bool {
// FIXME(zwarich): Remove this when UFCS lands and there is a better way
// of disambiguating methods.
fn is_document<'a, T: DocumentDerived>(this: &T) -> bool {
this.is_document()
}
is_document(*self)
DocumentDerived::is_document(*self)
}
fn as_element(&self) -> Option<&'a Element> {