Skip to content

Commit 40aa24d

Browse files
committed
trivial typo fixes
1 parent 5c46b62 commit 40aa24d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/boost/redis/connection.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class basic_connection {
102102
, timer_{ex}
103103
{ }
104104

105-
/// Contructs from a context.
105+
/// Constructs from a context.
106106
explicit
107107
basic_connection(
108108
asio::io_context& ioc,
@@ -125,17 +125,17 @@ class basic_connection {
125125
* timeout with value zero will disable health-checks. If the Redis
126126
* server does not respond to a health-check within two times the value
127127
* specified here, it will be considered unresponsive and the connection
128-
* will be closed and a new connection will be stablished.
128+
* will be closed and a new connection will be established.
129129
* 5. Starts read and write operations with the Redis
130130
* server. More specifically it will trigger the write of all
131131
* requests i.e. calls to `async_exec` that happened prior to this
132132
* call.
133133
*
134134
* When a connection is lost for any reason, a new one is
135-
* stablished automatically. To disable reconnection call
135+
* established automatically. To disable reconnection call
136136
* `boost::redis::connection::cancel(operation::reconnection)`.
137137
*
138-
* @param cfg Configuration paramters.
138+
* @param cfg Configuration parameters.
139139
* @param l Logger object. The interface expected is specified in the class `boost::redis::logger`.
140140
* @param token Completion token.
141141
*

include/boost/redis/error.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ enum class error
2323
not_a_number,
2424

2525
/// The maximum depth of a nested response was exceeded.
26-
exceeeds_max_nested_depth,
26+
exceeds_max_nested_depth,
2727

2828
/// Got non boolean value.
2929
unexpected_bool_value,

0 commit comments

Comments
 (0)