diff --git a/crates/qrcode/keyfork-qrcode/Cargo.toml b/crates/qrcode/keyfork-qrcode/Cargo.toml index 5186c84..537c86f 100644 --- a/crates/qrcode/keyfork-qrcode/Cargo.toml +++ b/crates/qrcode/keyfork-qrcode/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" [features] default = [] -bin = ["decode-backend-zbar"] +bin = ["decode-backend-rqrr"] decode-backend-rqrr = ["dep:rqrr"] decode-backend-zbar = ["dep:keyfork-zbar"] diff --git a/crates/qrcode/keyfork-zbar/src/image.rs b/crates/qrcode/keyfork-zbar/src/image.rs index e312735..f49f580 100644 --- a/crates/qrcode/keyfork-zbar/src/image.rs +++ b/crates/qrcode/keyfork-zbar/src/image.rs @@ -22,9 +22,9 @@ impl Image { /// /// A FourCC code can be given in the format: /// - /// ```no_run + /// ```rust,ignore /// self.set_format(b"Y800") - /// ```` + /// ``` pub(crate) fn set_format(&mut self, fourcc: &[u8; 4]) { let fourcc: u64 = fourcc[0] as u64 | ((fourcc[1] as u64) << 8)