Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rinarakaki authored Aug 28, 2023
1 parent 1a9a748 commit c6cd9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html5ever/src/tree_builder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ where

/// Call the `Tracer`'s `trace_handle` method on every `Handle` in the tree builder's
/// internal state. This is intended to support garbage-collected DOMs.
pub fn trace_handles(&self, tracer: &Tracer<Handle = Handle>) {
pub fn trace_handles(&self, tracer: &dyn Tracer<Handle = Handle>) {
tracer.trace_handle(&self.doc_handle);
for e in &self.open_elems {
tracer.trace_handle(e);
Expand Down

0 comments on commit c6cd9d1

Please sign in to comment.