From 38cb2759e842780cdcdcf957fce526ed49c5db97 Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Mon, 9 Dec 2024 13:58:10 -0600 Subject: [PATCH] Fix enable_out_of_order_streaming doc example and manganis macro remote example (#3317) --- packages/fullstack/src/serve_config.rs | 2 +- packages/manganis/manganis-macro/src/lib.rs | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/fullstack/src/serve_config.rs b/packages/fullstack/src/serve_config.rs index ad392779f9..41dac595cb 100644 --- a/packages/fullstack/src/serve_config.rs +++ b/packages/fullstack/src/serve_config.rs @@ -163,7 +163,7 @@ impl ServeConfigBuilder { /// /// It is equivalent to calling `streaming_mode(StreamingMode::OutOfOrder)` /// - /// /// ```rust, no_run + /// ```rust, no_run /// # use dioxus::prelude::*; /// # fn app() -> Element { todo!() } /// dioxus::LaunchBuilder::new() diff --git a/packages/manganis/manganis-macro/src/lib.rs b/packages/manganis/manganis-macro/src/lib.rs index 078b137ca2..1bab628b22 100644 --- a/packages/manganis/manganis-macro/src/lib.rs +++ b/packages/manganis/manganis-macro/src/lib.rs @@ -19,11 +19,6 @@ use linker::generate_link_section; /// # use manganis::{asset, Asset}; /// const _: Asset = asset!("/assets/asset.txt"); /// ``` -/// Or you can use URLs to read the asset at build time from a remote location -/// ```rust -/// # use manganis::{asset, Asset}; -/// const _: Asset = asset!("/assets/image.png"); -/// ``` /// /// # Images ///