Skip to content

Commit a9e5448

Browse files
committed
scylla-cql errors: Fixed typos
1 parent cefceda commit a9e5448

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scylla-cql/src/errors.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)