diff --git a/src/lib.rs b/src/lib.rs index 9e6e390..61274de 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,7 +23,7 @@ struct Http { app: AppHandle, } -trait HttpExt { +/* trait HttpExt { fn http(&self) -> &Http; } @@ -31,7 +31,7 @@ impl> HttpExt for T { fn http(&self) -> &Http { self.state::>().inner() } -} +} */ pub fn init() -> TauriPlugin { Builder::::new("http")