chore: remove unnecessary import

This commit is contained in:
Jonathan Kelley 2021-07-12 11:03:35 -04:00
parent 63bbc38f3f
commit fb0c6d2ea4

View file

@ -44,7 +44,6 @@ pub fn fc_to_builder<T: Properties>(_: FC<T>) -> T::Builder {
T::builder()
}
use crate::nodebuilder::LazyNodes;
/// Create inline fragments
///
/// Fragments capture a series of children without rendering extra nodes.
@ -54,7 +53,5 @@ use crate::nodebuilder::LazyNodes;
use crate::prelude::*;
#[allow(non_upper_case_globals, non_snake_case)]
pub fn Fragment<'a>(cx: Context<'a, ()>) -> VNode<'a> {
cx.render(LazyNodes::new(move |f| {
f.fragment_from_iter(cx.children())
}))
cx.render(LazyNodes::new(move |f| f.fragment_from_iter(cx.children())))
}