diff --git a/javascript/qrcodegen.js b/javascript/qrcodegen.js index 2324d3b..2b4a470 100644 --- a/javascript/qrcodegen.js +++ b/javascript/qrcodegen.js @@ -32,7 +32,7 @@ * - Function encodeSegments(list segs, QrCode.Ecc ecl, * int minVersion=1, int maxVersion=40, mask=-1, boostEcl=true) -> QrCode * - Constants int MIN_VERSION, MAX_VERSION - * - Constructor QrCode(int version, QrCode.Ecc ecl, list dataCodewords, int mask) + * - Constructor QrCode(int version, QrCode.Ecc ecl, list dataCodewords, int mask) * - Fields int version, size, mask * - Field QrCode.Ecc errorCorrectionLevel * - Method getModule(int x, int y) -> bool @@ -42,7 +42,7 @@ * - Constants LOW, MEDIUM, QUARTILE, HIGH * - Field int ordinal * - Class QrSegment: - * - Function makeBytes(list data) -> QrSegment + * - Function makeBytes(list data) -> QrSegment * - Function makeNumeric(str data) -> QrSegment * - Function makeAlphanumeric(str data) -> QrSegment * - Function makeSegments(str text) -> list diff --git a/rust/src/lib.rs b/rust/src/lib.rs index f68d15b..4c08978 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -779,7 +779,7 @@ impl QrCodeEcc { // Computes the Reed-Solomon error correction codewords for a sequence of data codewords // at a given degree. Objects are immutable, and the state only depends on the degree. -// This class exists because each data block in a QR Code shares the same the divisor polynomial. +// This struct and impl exist because each data block in a QR Code shares the same the divisor polynomial. struct ReedSolomonGenerator { // Coefficients of the divisor polynomial, stored from highest to lowest power, excluding the leading term which