From d9cf9e6f3a4c85b7029fb36abf3e85ac7afcf9df Mon Sep 17 00:00:00 2001 From: Ho Kim Date: Fri, 26 May 2023 00:27:07 +0900 Subject: [PATCH] Fix a document: `eframe::start_web` In `0.22.0`, `eframe::start_web` has been replaced with `eframe::WebRunner`, which also installs a nice panic hook (no need for `console_error_panic_hook`). --- crates/eframe/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/eframe/src/lib.rs b/crates/eframe/src/lib.rs index afa602cc94d..8164e7e659d 100644 --- a/crates/eframe/src/lib.rs +++ b/crates/eframe/src/lib.rs @@ -7,7 +7,7 @@ //! To learn how to set up `eframe` for web and native, go to and follow the instructions there! //! //! In short, you implement [`App`] (especially [`App::update`]) and then -//! call [`crate::run_native`] from your `main.rs`, and/or call `eframe::start_web` from your `lib.rs`. +//! call [`crate::run_native`] from your `main.rs`, and/or use `eframe::WebRunner` from your `lib.rs`. //! //! ## Usage, native: //! ``` no_run