Ver Fonte

fix[docs]: Fix import in the Plugin example (#2224)

Joaquín há 4 anos atrás
pai
commit
3f84381ea9
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      docs/usage/guides/plugin.md

+ 1 - 1
docs/usage/guides/plugin.md

@@ -17,7 +17,7 @@ Plugins allow you to hook into the Tauri application lifecycle and introduce new
 To write a plugin you just need to implement the `tauri::plugin::Plugin` trait:
 
 ```rust
-use tauri::{plugin::{Plugin, Result as PluginResult}, runtime::Runtime, PageLoadPayload, Window, Invoke, App};
+use tauri::{plugin::{Plugin, Result as PluginResult}, Runtime, PageLoadPayload, Window, Invoke, App};
 
 struct MyAwesomePlugin<R: Runtime> {
   invoke_handler: Box<dyn Fn(Invoke<R>) + Send + Sync>,