diff --git a/packages/yew-agent/src/reactor/bridge.rs b/packages/yew-agent/src/reactor/bridge.rs index 0f2d8ea6836..57b4bc5d40d 100644 --- a/packages/yew-agent/src/reactor/bridge.rs +++ b/packages/yew-agent/src/reactor/bridge.rs @@ -17,7 +17,7 @@ use crate::Codec; /// A connection manager for components interaction with oneshot workers. /// -/// As this type implements [Stream] + [Sink], it can be splitted with [`StreamExt::split`]. +/// As this type implements [Stream] + [Sink], it can be split with [`StreamExt::split`]. pub struct ReactorBridge where R: Reactor + 'static, diff --git a/packages/yew/src/dom_bundle/subtree_root.rs b/packages/yew/src/dom_bundle/subtree_root.rs index 050816bab3a..0b6b2c723b4 100644 --- a/packages/yew/src/dom_bundle/subtree_root.rs +++ b/packages/yew/src/dom_bundle/subtree_root.rs @@ -401,7 +401,7 @@ impl SubtreeData { &'s self, event: &'s Event, ) -> Option> { - // Note: the event is not necessarily indentically the same object for all installed + // Note: the event is not necessarily identically the same object for all installed // handlers hence this cache can be unreliable. Hence the cached repsonsible_tree_id // might be missing. On the other hand, due to event retargeting at shadow roots, // the cache might be wrong! Keep in mind that we handle events in the capture @@ -423,7 +423,7 @@ impl SubtreeData { // that is responsible for handling this event, and it's not this subtree. return None; } - // We're tasked with finding the subtree that is reponsible with handling the event, and/or + // We're tasked with finding the subtree that is responsible with handling the event, and/or // run the handling if that's `self`. let target = event_path.get(0).dyn_into::().ok()?; let should_bubble = BUBBLE_EVENTS.load(Ordering::Relaxed) && event.bubbles(); diff --git a/packages/yew/src/scheduler.rs b/packages/yew/src/scheduler.rs index 98e82ea0b47..d94b6a96715 100644 --- a/packages/yew/src/scheduler.rs +++ b/packages/yew/src/scheduler.rs @@ -280,7 +280,7 @@ impl Scheduler { // Priority rendering // - // This is needed for hydration susequent render to fix node refs. + // This is needed for hydration subsequent render to fix node refs. if let Some(r) = self.render_priority.pop_topmost() { to_run.push(r); return;