rip out more lifetimes

This commit is contained in:
Evan Almloff committed 2024-01-04 18:33:01 -06:00
1 parent c9ff449e45
commit 3ad16ddd37
18 files changed
+165 -456

No files matched your search

+1 -1
View File
@@ -301,7 +301,7 @@ pub fn provide_root_context<T: 'static + Clone>(value: T) -> Option<T> {
}
/// Suspends the current component
pub fn suspend() -> Option<Element<'static>> {
pub fn suspend() -> Option<Element> {
with_current_scope(|cx| {
cx.suspend();
});