Skip to content

Commit 79f854e

Browse files
committed
Correction in error module
1 parent 53d6cd0 commit 79f854e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/errors/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub enum DecryptError {
7070
SealError(#[from] SealError),
7171
}
7272

73-
/// Error returned by [`EncryptedTable::query`] when indexing, retrieving and decrypting records from DynamoDB
73+
/// Error returned by [`crate::EncryptedTable::query`] when indexing, retrieving and decrypting records from DynamoDB
7474
#[derive(Error, Debug, Diagnostic)]
7575
pub enum QueryError {
7676
#[error("PrimaryKeyError: {0}")]
@@ -86,9 +86,6 @@ pub enum QueryError {
8686
#[error("{0}")]
8787
Other(String),
8888

89-
// TODO: Remove this (and repeat for all the operations)
90-
//#[error("AwsError: {0}")]
91-
//AwsError(String),
9289
#[error(transparent)]
9390
DynamoError(#[from] SdkError<operation::query::QueryError>),
9491
}

0 commit comments

Comments
 (0)