docs: update func names

This commit is contained in:
Yin Jifeng committed 2022-06-13 18:43:36 +08:00
1 parent 7576426c93
commit 814235f145
1 file changed
+1 -1
+1 -1
View File
@@ -609,7 +609,7 @@ impl ScopeState {
/// Create a subscription that schedules a future render for the reference component
///
/// ## Notice: you should prefer using prepare_update and get_scope_id
/// ## Notice: you should prefer using schedule_update_any and scope_id
pub fn schedule_update(&self) -> Arc<dyn Fn() + Send + Sync + 'static> {
let (chan, id) = (self.tasks.sender.clone(), self.scope_id());
Arc::new(move || {