Tweaked C++ and Rust code to not use character entities (left over from copying Javadoc).

This commit is contained in:
Project Nayuki 2018-10-05 07:29:20 +00:00
parent c3992b646f
commit b89bb889a5
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class QrCode final {
private: int version; private: int version;
/* The width and height of this QR Code symbol, measured in modules. /* 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; private: int size;
/* The error correction level used in this QR Code symbol. */ /* The error correction level used in this QR Code symbol. */

View File

@ -37,7 +37,7 @@ pub struct QrCode {
version: Version, version: Version,
// The width and height of this QR Code symbol, measured in modules. // 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, size: i32,
// The error correction level used in this QR Code symbol. // The error correction level used in this QR Code symbol.