Fix enable_out_of_order_streaming doc example and manganis macro remote example (#3317)

This commit is contained in:
Evan Almloff authored and GitHub committed 2024-12-09 11:58:10 -08:00
1 parent b643461129
commit 38cb2759e8
2 files changed
+1 -6

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@ impl ServeConfigBuilder {
/// ///
/// It is equivalent to calling `streaming_mode(StreamingMode::OutOfOrder)` /// It is equivalent to calling `streaming_mode(StreamingMode::OutOfOrder)`
/// ///
/// /// ```rust, no_run /// ```rust, no_run
/// # use dioxus::prelude::*; /// # use dioxus::prelude::*;
/// # fn app() -> Element { todo!() } /// # fn app() -> Element { todo!() }
/// dioxus::LaunchBuilder::new() /// dioxus::LaunchBuilder::new()
@@ -19,11 +19,6 @@ use linker::generate_link_section;
/// # use manganis::{asset, Asset}; /// # use manganis::{asset, Asset};
/// const _: Asset = asset!("/assets/asset.txt"); /// 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 /// # Images
/// ///