From 05739e65cddb7c9639194c6b95bacab5f0d614b6 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 18 Apr 2024 11:04:20 +0200 Subject: [PATCH] another clippy lint fix --- example_app/src/web.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_app/src/web.rs b/example_app/src/web.rs index 8d3495e..1bd27eb 100644 --- a/example_app/src/web.rs +++ b/example_app/src/web.rs @@ -5,7 +5,7 @@ use eframe::wasm_bindgen::{self, prelude::*}; /// It loads the app, installs some callbacks, then returns. /// You can add more callbacks like this if you want to call in to your code. #[wasm_bindgen] -pub async fn start(canvas_id: &str) -> std::result::Result<(), eframe::wasm_bindgen::JsValue> { +pub async fn start(canvas_id: &str) -> Result<(), JsValue> { // Redirect `log` message to `console.log` and friends: eframe::WebLogger::init(log::LevelFilter::Debug).ok();