Skip to content

Commit 56b89fd

Browse files
authored
Merge pull request #70 from p-mongo/typo-fix
Fix some typos
2 parents 1e1100f + 669b110 commit 56b89fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mongo/error.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ defmodule Mongo.Error do
7676
end
7777

7878
@doc """
79-
Return true if the error is retryalble for read operations.
79+
Return true if the error is retryable for read operations.
8080
"""
8181
def should_retry_read(%Mongo.Error{retryable_reads: true}, cmd, opts) do
8282
[{command_name,_}|_] = cmd
@@ -93,7 +93,7 @@ defmodule Mongo.Error do
9393
end
9494

9595
@doc """
96-
Return true if the error is retryalble for writes operations.
96+
Return true if the error is retryable for writes operations.
9797
"""
9898
def should_retry_write(%Mongo.Error{retryable_writes: true}, cmd, opts) do
9999
[{command_name,_}|_] = cmd

0 commit comments

Comments
 (0)