mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Update Rust to 1.11.0-nightly (ec872dc8a 2016-06-07)
This commit is contained in:
@@ -2675,7 +2675,7 @@ impl DocumentMethods for Document {
|
||||
.filter(|node| filter_by_name(&name, node.r()))
|
||||
.peekable();
|
||||
if let Some(first) = elements.next() {
|
||||
if elements.is_empty() {
|
||||
if elements.peek().is_none() {
|
||||
*found = true;
|
||||
// TODO: Step 2.
|
||||
// Step 3.
|
||||
|
||||
Reference in New Issue
Block a user