mirror of
https://github.com/bend-n/fimg.git
synced 2024-12-22 02:28:19 -06:00
fix saveless
This commit is contained in:
parent
82c597213b
commit
fd41988c10
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "fimg"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
authors = ["bend-n <bend.n@outlook.com>"]
|
||||
license = "MIT"
|
||||
edition = "2021"
|
||||
|
|
|
@ -239,6 +239,7 @@ impl<const CHANNELS: usize> Image<Vec<u8>, CHANNELS> {
|
|||
macro_rules! save {
|
||||
($channels:literal == $clr:ident ($clrhuman:literal)) => {
|
||||
impl Image<Vec<u8>, $channels> {
|
||||
#[cfg(feature = "save")]
|
||||
#[doc = "Save this "]
|
||||
#[doc = $clrhuman]
|
||||
#[doc = " image."]
|
||||
|
|
Loading…
Reference in a new issue