fix updater doctests [skip ci]

pull/555/head
Lucas Nogueira 2 years ago
parent b63cb003cc
commit 6511e47b3e
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -41,7 +41,7 @@ pub trait UpdaterExt<R: Runtime> {
/// use tauri_plugin_updater::UpdaterExt;
/// tauri::Builder::default()
/// .setup(|app| {
/// let handle = app.handle();
/// let handle = app.handle().clone();
/// tauri::async_runtime::spawn(async move {
/// let response = handle.updater_builder().build().unwrap().check().await;
/// });
@ -58,7 +58,7 @@ pub trait UpdaterExt<R: Runtime> {
/// use tauri_plugin_updater::UpdaterExt;
/// tauri::Builder::default()
/// .setup(|app| {
/// let handle = app.handle();
/// let handle = app.handle().clone();
/// tauri::async_runtime::spawn(async move {
/// let response = handle.updater().unwrap().check().await;
/// });

Loading…
Cancel
Save