polish: clean up the web module

This commit is contained in:
Jonathan Kelley committed 2021-09-24 20:11:30 -04:00
1 parent 1464d2e0a7
commit 823adc0834
15 files changed
+144 -50

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ use std::{
/// }
/// }
/// ```
pub fn use_state<'a, 'c, T: 'static>(
pub fn use_state<'a, T: 'static>(
cx: Context<'a>,
initial_state_fn: impl FnOnce() -> T,
) -> UseState<'a, T> {