aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-06 13:34:23 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:55 +0200
commita9a4381398098107d1b359a19338e91651605de8 (patch)
treef70d03572d514e42d4b2376cf34a0d071ba8fc4b
parent0854ebbc0720c1691f2de661c4ce3467b71746c6 (diff)
docs: fix 'uint32_teger' comments
-rw-r--r--src/conversion.hpp4
-rw-r--r--src/interfaces/randomization.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/conversion.hpp b/src/conversion.hpp
index 6f13342..f915606 100644
--- a/src/conversion.hpp
+++ b/src/conversion.hpp
@@ -24,9 +24,9 @@ static constexpr auto IS_VALID_UINT = ctll::fixed_string("^[0-9]+$");
static constexpr auto IS_UINT_IN_RANGE = ctll::fixed_string("^[0-9]{1,19}$");
/**
- * Converts a string to a uint32_teger.
+ * Converts a string to a unsigned integer.
*
- * @param str A string that possibly is a uint32_teger
+ * @param str A string that possibly is a unsigned integer
* @returns A conversion result
*/
ConversionResult<uint32_t> str_to_uint(const std::string_view &str);
diff --git a/src/interfaces/randomization.hpp b/src/interfaces/randomization.hpp
index a17efb4..524069a 100644
--- a/src/interfaces/randomization.hpp
+++ b/src/interfaces/randomization.hpp
@@ -13,7 +13,7 @@ public:
using ISeedGeneratorFactory = std::shared_ptr<ISeedGenerator> (*)();
/**
- * Pseudo-random uint32_teger generator.
+ * Pseudo-random unsigned integer generator.
*/
class IRandomNumberGenerator
{