Skip to content

Commit

Permalink
Merge branch 'fix/deal-with-regression-60958' into maintenance/v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lo48576 committed Jun 5, 2019
2 parents e9aabe5 + 4ac1bdf commit e2c9d92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

* Fix regression due to <https://github.com/rust-lang/rust/issues/60958>.

### Fixes (non-breaking)
* Fix regression due to <https://github.com/rust-lang/rust/issues/60958>.
+ This fix does not change the program's behaviour.

## [0.2.0]

* Syntactic position information for pull parser is supported.
Expand Down
2 changes: 1 addition & 1 deletion src/dom/v7400/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl ObjectMeta {

// Get subclass.
let subclass = match attrs.get(2) {
Some(DirectAttributeValue::String(v)) => strings.get_or_intern(v.as_ref()),
Some(DirectAttributeValue::String(v)) => strings.get_or_intern(v.as_str()),
Some(_) => return Err(AccessError::UnexpectedAttributeType(Some(2))),
None => return Err(AccessError::AttributeNotFound(Some(2))),
};
Expand Down

0 comments on commit e2c9d92

Please sign in to comment.