Commit 56972377efc4787b5a3182b6436618a22f926f74

Cléo Rebert 2024-03-12T16:20:58

cargo fmt qrcodegen-image/src/lib.rs Signed-off-by: Cléo Rebert <cleo.rebert@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/qrcodegen-image/src/lib.rs b/qrcodegen-image/src/lib.rs
index 68cbacd..3ef4cc4 100644
--- a/qrcodegen-image/src/lib.rs
+++ b/qrcodegen-image/src/lib.rs
@@ -19,7 +19,7 @@ pub fn draw_canvas(qr: qrcodegen::QrCode) -> image::ImageBuffer<Luma<u8>, Vec<u8
     for x_qr in 0..size {
         for y_qr in 0..size {
             if !qr.get_module(x_qr as i32, y_qr as i32) {
-                continue
+                continue;
             }
 
             // Multiply coordinates by width of pixels