@@ -26,11 +26,12 @@ pub(crate) enum ComponentRenderState {
2626 root : BSubtree ,
2727 parent : Element ,
2828 /// The dom position in front of the next sibling.
29- /// Gets updated when the bundle in which this component occurs gets re-rendered and is shared with the
30- /// children of this component.
29+ /// Gets updated when the bundle in which this component occurs gets re-rendered and is
30+ /// shared with the children of this component.
3131 sibling_slot : DynamicDomSlot ,
3232 /// The dom position in front of this component.
33- /// Gets updated whenever this component re-renders and is shared with the bundle in which this component occurs.
33+ /// Gets updated whenever this component re-renders and is shared with the bundle in which
34+ /// this component occurs.
3435 own_slot : DynamicDomSlot ,
3536 } ,
3637 #[ cfg( feature = "hydration" ) ]
@@ -229,8 +230,8 @@ pub(crate) struct ComponentState {
229230 #[ cfg( feature = "csr" ) ]
230231 has_rendered : bool ,
231232 /// This deals with an edge case. Usually, we want to update props as fast as possible.
232- /// But, when a component hydrates and suspends, we want to continue using the intially given props.
233- /// This is prop updates are ignored during SSR, too.
233+ /// But, when a component hydrates and suspends, we want to continue using the intially given
234+ /// props. This is prop updates are ignored during SSR, too.
234235 #[ cfg( feature = "hydration" ) ]
235236 pending_props : Option < Rc < dyn Any > > ,
236237
@@ -527,7 +528,8 @@ impl ComponentState {
527528 ref root,
528529 } => {
529530 // We schedule a "first" render to run immediately after hydration.
530- // Most notably, only this render will trigger the "rendered" callback, hence we want to prioritize this.
531+ // Most notably, only this render will trigger the "rendered" callback, hence we
532+ // want to prioritize this.
531533 scheduler:: push_component_priority_render (
532534 self . comp_id ,
533535 Box :: new ( RenderRunner {
0 commit comments