From 96b0283187efd8914b6de3cd2ed64f550552e7d5 Mon Sep 17 00:00:00 2001 From: Thomas van der Westen Date: Sat, 14 Jan 2023 22:24:39 +0100 Subject: [PATCH] Update Readme.md The line where the plugin is added: `.plugin(tauri_plugin_sql::Builder::default())` give my this error; ```the trait `Plugin>` is not implemented for `tauri_plugin_sql::Builder```` I found this fix: https://github.com/tauri-apps/tauri/issues/5947 and it works. --- plugins/sql/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sql/README.md b/plugins/sql/README.md index 2b7c6f9b..6b034f7c 100644 --- a/plugins/sql/README.md +++ b/plugins/sql/README.md @@ -42,7 +42,7 @@ First you need to register the core plugin with Tauri: ```rust fn main() { tauri::Builder::default() - .plugin(tauri_plugin_sql::Builder::default()) + .plugin(tauri_plugin_sql::Builder::default().build()) .run(tauri::generate_context!()) .expect("error while running tauri application"); }