Address review comments.

This commit is contained in:
Ms2ger 2014-04-04 21:30:33 +02:00
parent 31eee791dd
commit fb09979502
9 changed files with 19 additions and 12 deletions

View file

@ -610,7 +610,8 @@ impl Document {
// TODO: support the case if multiple elements
// which haves same id are in the same document.
// This would use mangle(), but some dumbass removed it.
// FIXME https://github.com/mozilla/rust/issues/13195
// Use mangle() when it exists again.
match self.idmap.find_mut(&id) {
Some(v) => {
*v = element.clone();