diff --git a/include/nlohmann/detail/output/serializer.hpp b/include/nlohmann/detail/output/serializer.hpp index f1c0b051a..1d107ce04 100644 --- a/include/nlohmann/detail/output/serializer.hpp +++ b/include/nlohmann/detail/output/serializer.hpp @@ -422,7 +422,7 @@ class serializer case error_handler_t::ignore: case error_handler_t::replace: { - // in case we saw this chatacter the first time, we + // in case we saw this character the first time, we // would like to read it again, because the byte // may be OK for itself, but just not OK for the // previous sequence diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 025dfeafa..be3f84174 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -10374,7 +10374,7 @@ class serializer case error_handler_t::ignore: case error_handler_t::replace: { - // in case we saw this chatacter the first time, we + // in case we saw this character the first time, we // would like to read it again, because the byte // may be OK for itself, but just not OK for the // previous sequence