From 5e4f15286f860ca2fbed5e4f0f2cddb724ee99d6 Mon Sep 17 00:00:00 2001 From: Alexey Arbuzov Date: Tue, 30 Apr 2019 16:47:51 +0300 Subject: [PATCH] Disable warnings about constant naming style --- rust/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 71b84b3..13bed9f 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -801,9 +801,11 @@ impl QrCode { /*---- Cconstants and tables ----*/ /// The minimum version number supported in the QR Code Model 2 standard. +#[allow(non_upper_case_globals)] pub const QrCode_MIN_VERSION: Version = Version( 1); /// The maximum version number supported in the QR Code Model 2 standard. +#[allow(non_upper_case_globals)] pub const QrCode_MAX_VERSION: Version = Version(40);