File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ pub enum DbError {
5454 #[ error( "The submitted query has a syntax error" ) ]
5555 SyntaxError ,
5656
57- /// The query is syntatically correct but invalid
58- #[ error( "The query is syntatically correct but invalid" ) ]
57+ /// The query is syntactically correct but invalid
58+ #[ error( "The query is syntactically correct but invalid" ) ]
5959 Invalid ,
6060
6161 /// Attempted to create a keyspace or a table that was already existing
@@ -178,7 +178,7 @@ pub enum DbError {
178178 WriteFailure {
179179 /// Consistency level of the query
180180 consistency : LegacyConsistency ,
181- /// Number of ndoes that responded to the read request
181+ /// Number of nodes that responded to the read request
182182 received : i32 ,
183183 /// Number of nodes required to respond to satisfy required consistency level
184184 required : i32 ,
@@ -451,7 +451,7 @@ mod tests {
451451 // - displays error description
452452 // - displays error parameters
453453 // - displays error message
454- // - indented multiline strings dont cause whitespace gaps
454+ // - indented multiline strings don't cause whitespace gaps
455455 #[ test]
456456 fn dberror_full_info ( ) {
457457 // Test that DbError::Unavailable is displayed correctly
You can’t perform that action at this time.
0 commit comments