diff --git a/src/views/img.rs b/src/views/img.rs index f305547c..da595bce 100644 --- a/src/views/img.rs +++ b/src/views/img.rs @@ -90,6 +90,7 @@ pub struct Img { content_node: Option, } +#[deprecated] pub fn img(image: impl Fn() -> Vec + 'static) -> Img { img_from_bytes(image) }