mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
fix(docs): fix reference to tokio mutex (#3034)
This commit is contained in:
@@ -106,7 +106,7 @@ For more information on commands, see [Calling Rust from the Frontend](/develop/
|
||||
|
||||
#### Async commands
|
||||
|
||||
If you are using `async` commands and want to use Tokio's async [`Mutex`], you can set it up the same way and access the state like this:
|
||||
If you are using `async` commands and want to use Tokio's async [`Mutex`](https://docs.rs/tokio/latest/tokio/sync/struct.Mutex.html), you can set it up the same way and access the state like this:
|
||||
|
||||
```rust
|
||||
#[tauri::command]
|
||||
|
||||
Reference in New Issue
Block a user