Skip to content

Commit c8f391d

Browse files
authored
minor: fix spelling of 'occurred' (#118)
1 parent 41d9cb2 commit c8f391d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/error.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pub enum ErrorKind {
9797

9898
/// An error occurred when trying to execute a write operation consisting of multiple writes.
9999
#[error(
100-
display = "An error ocurred when trying to execute a write operation: {:?}",
100+
display = "An error occurred when trying to execute a write operation: {:?}",
101101
_0
102102
)]
103103
BulkWriteError(BulkWriteFailure),
@@ -325,10 +325,10 @@ pub struct BulkWriteError {
325325
/// The set of errors that occurred during a write operation.
326326
#[derive(Clone, Debug)]
327327
pub struct BulkWriteFailure {
328-
/// The error(s) that occured on account of a non write concern failure.
328+
/// The error(s) that occurred on account of a non write concern failure.
329329
pub write_errors: Option<Vec<BulkWriteError>>,
330330

331-
/// The error that ocurred on account of write concern failure.
331+
/// The error that occurred on account of write concern failure.
332332
pub write_concern_error: Option<WriteConcernError>,
333333
}
334334

0 commit comments

Comments
 (0)