Fix fullstack axum integration docs (#3263)
* Fix broken fullstack doc tests * include all features in doc test * fix clippy
This commit is contained in:
1 parent
354c4ce9cc
commit
9dc567255a
8 files changed
+51
-116
No files matched your search
@@ -181,7 +181,6 @@ impl ImageAssetOptions {
|
||||
/// # use manganis::{asset, Asset, ImageAssetOptions, ImageSize};
|
||||
/// const _: Asset = asset!("/assets/image.png", ImageAssetOptions::new().with_size(ImageSize::Manual { width: 512, height: 512 }));
|
||||
/// ```
|
||||
|
||||
pub const fn with_size(self, size: ImageSize) -> Self {
|
||||
Self { size, ..self }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user