Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza1311 committed Aug 27, 2022
1 parent ec36c2c commit 35b85b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/yew/src/dom_bundle/utils.rs
Expand Up @@ -86,6 +86,7 @@ mod tests {
use crate::dom_bundle::BSubtree;
use crate::html::AnyScope;

#[allow(dead_code)]
pub fn setup_parent() -> (BSubtree, AnyScope, Element) {
let scope = AnyScope::test();
let parent = document().create_element("div").unwrap();
Expand All @@ -98,4 +99,6 @@ mod tests {
}

#[cfg(test)]
// this is needed because clippy doesn't like the import not being used
#[allow(unused_imports)]
pub(super) use tests::*;
4 changes: 2 additions & 2 deletions packages/yew/src/virtual_dom/vnode.rs
Expand Up @@ -87,8 +87,8 @@ impl VNode {
/// let _: VNode = html! {
/// <div>
/// {parsed}
/// <div>
/// }
/// </div>
/// };
/// # }
/// ```
pub fn from_raw_html(html: AttrValue) -> Self {
Expand Down

0 comments on commit 35b85b9

Please sign in to comment.