Fix enable_out_of_order_streaming doc example and manganis macro remote example (#3317)
This commit is contained in:
1 parent
b643461129
commit
38cb2759e8
2 files changed
+1
-6
No files matched your search
@@ -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()
|
||||
|
||||
@@ -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
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user