diff --git a/include/boost/redis/connection.hpp b/include/boost/redis/connection.hpp index 71348f33..8462d547 100644 --- a/include/boost/redis/connection.hpp +++ b/include/boost/redis/connection.hpp @@ -102,7 +102,7 @@ class basic_connection { , timer_{ex} { } - /// Contructs from a context. + /// Constructs from a context. explicit basic_connection( asio::io_context& ioc, @@ -125,17 +125,17 @@ class basic_connection { * timeout with value zero will disable health-checks. If the Redis * server does not respond to a health-check within two times the value * specified here, it will be considered unresponsive and the connection - * will be closed and a new connection will be stablished. + * will be closed and a new connection will be established. * 5. Starts read and write operations with the Redis * server. More specifically it will trigger the write of all * requests i.e. calls to `async_exec` that happened prior to this * call. * * When a connection is lost for any reason, a new one is - * stablished automatically. To disable reconnection call + * established automatically. To disable reconnection call * `boost::redis::connection::cancel(operation::reconnection)`. * - * @param cfg Configuration paramters. + * @param cfg Configuration parameters. * @param l Logger object. The interface expected is specified in the class `boost::redis::logger`. * @param token Completion token. * diff --git a/include/boost/redis/error.hpp b/include/boost/redis/error.hpp index 0519b7fb..dc174829 100644 --- a/include/boost/redis/error.hpp +++ b/include/boost/redis/error.hpp @@ -23,7 +23,7 @@ enum class error not_a_number, /// The maximum depth of a nested response was exceeded. - exceeeds_max_nested_depth, + exceeds_max_nested_depth, /// Got non boolean value. unexpected_bool_value,