Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed May 16, 2024
1 parent d148fcb commit 491a2c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew/src/dom_bundle/subtree_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ pub trait EventGrating {
fn set_cache_key(&self, key: u32);
}

/// Duck-typing, not a real class on js-side. On rust-side, use impls of EventGrating below
#[wasm_bindgen]
extern "C" {
// Duck-typing, not a real class on js-side. On rust-side, use impls of EventGrating below
type EventTargetable;
#[wasm_bindgen(method, getter = __yew_subtree_id, structural)]
fn subtree_id(this: &EventTargetable) -> Option<TreeId>;
Expand Down
1 change: 1 addition & 0 deletions packages/yew/src/html/component/lifecycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ where
///
/// Mostly a thin wrapper that passes the context to a component's lifecycle
/// methods.
#[allow(dead_code)]
pub(crate) trait Stateful {
fn view(&self) -> HtmlResult;
fn rendered(&mut self, first_render: bool);
Expand Down
1 change: 1 addition & 0 deletions packages/yew/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl TopologicalQueue {

/// Take a single entry, preferring parents over children
#[rustversion::since(1.66)]
#[allow(clippy::incompatible_msrv)]
#[inline]
fn pop_topmost(&mut self) -> Option<QueueEntry> {
self.inner.pop_first().map(|(_, v)| v)
Expand Down

0 comments on commit 491a2c1

Please sign in to comment.