From 025400e70635f1b1c73669dc5d8a9bd3d90108fc Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Fri, 26 Oct 2018 02:42:49 +0000 Subject: [PATCH] Tweaked a package-private Rust function to not be public. --- rust/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 394a334..0a59396 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -1189,7 +1189,7 @@ impl QrSegmentMode { // Returns the bit width of the character count field for a segment in this mode // in a QR Code at the given version number. The result is in the range [0, 16]. - pub fn num_char_count_bits(&self, ver: Version) -> u8 { + fn num_char_count_bits(&self, ver: Version) -> u8 { use QrSegmentMode::*; (match *self { Numeric => [10, 12, 14],