diff --git a/examples/web_worker_fib/src/agent.rs b/examples/web_worker_fib/src/agent.rs index 024d121cec9..afe6f6803e5 100644 --- a/examples/web_worker_fib/src/agent.rs +++ b/examples/web_worker_fib/src/agent.rs @@ -4,6 +4,7 @@ use wasm_bindgen::JsValue; use yew_agent::prelude::*; use yew_agent::Codec; +/// Example to use a custom codec. pub struct Postcard; impl Codec for Postcard {