@ -27,7 +27,6 @@
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <stdexcept>
#include <utility>
#include "qrcodegen.hpp"
@ -456,7 +456,7 @@ impl QrCode {
}
data << 12 | rem // uint18
};
assert!(bits >> 18 == 0, "Assertion error");
assert_eq!(bits >> 18, 0, "Assertion error");
// Draw two copies
for i in 0 .. 18 {