This commit is contained in:
parent
21f4c27cfb
commit
8122941c3c
|
@ -926,7 +926,7 @@ pub enum MountKind<'a> {
|
|||
/// Runs the provided closure and mounts the result to the `<body>`.
|
||||
pub fn mount_to_body<F, N>(f: F)
|
||||
where
|
||||
F: Fn() -> N + 'static,
|
||||
F: FnOnce() -> N + 'static,
|
||||
N: IntoView,
|
||||
{
|
||||
#[cfg(all(feature = "web", feature = "ssr"))]
|
||||
|
|
Loading…
Reference in New Issue