From 593e10ff0a1c4838967db9fe71e15bfc8ee366a2 Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Thu, 21 Mar 2024 19:59:06 +0800 Subject: [PATCH] trivial typo fixes --- include/boost/redis/connection.hpp | 8 ++++---- include/boost/redis/error.hpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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,