From b89bb889a54ce849b29c94ec062f7df39bfcc702 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Fri, 5 Oct 2018 07:29:20 +0000 Subject: [PATCH] Tweaked C++ and Rust code to not use character entities (left over from copying Javadoc). --- cpp/QrCode.hpp | 2 +- rust/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/QrCode.hpp b/cpp/QrCode.hpp index 3de3bc2..94b72e5 100644 --- a/cpp/QrCode.hpp +++ b/cpp/QrCode.hpp @@ -98,7 +98,7 @@ class QrCode final { private: int version; /* The width and height of this QR Code symbol, measured in modules. - * Always equal to version × 4 + 17, in the range 21 to 177. */ + * Always equal to version * 4 + 17, in the range 21 to 177. */ private: int size; /* The error correction level used in this QR Code symbol. */ diff --git a/rust/src/lib.rs b/rust/src/lib.rs index e8e8525..baa0ac9 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -37,7 +37,7 @@ pub struct QrCode { version: Version, // The width and height of this QR Code symbol, measured in modules. - // Always equal to version × 4 + 17, in the range 21 to 177. + // Always equal to version * 4 + 17, in the range 21 to 177. size: i32, // The error correction level used in this QR Code symbol.