Skip to content

Commit 9ebab97

Browse files
committed
Remove defunct mock module
1 parent 59b4897 commit 9ebab97

File tree

3 files changed

+4
-52
lines changed

3 files changed

+4
-52
lines changed

src/error.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
//! DynaLock error type and kinds.
15+
//! Dynalock error type and kinds.
1616
1717
use core::fmt;
1818
use std::error::Error;
1919
use std::string::{String, ToString};
2020

21-
/// Kinds of errors
21+
/// An enum of errors to represent the possible kinds of `DynaError`.
2222
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
2323
pub enum DynaErrorKind {
2424
/// Unhandled error from another crate or the standard library.
@@ -46,7 +46,8 @@ impl fmt::Display for DynaErrorKind {
4646
}
4747
}
4848

49-
/// Error type
49+
/// The DynaError type is the only error type that can be returned from this
50+
/// crate's API.
5051
#[derive(Debug, PartialEq)]
5152
pub struct DynaError {
5253
kind: DynaErrorKind,

src/providers/mock.rs

-47
This file was deleted.

src/providers/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,3 @@
1616
1717
#[cfg(feature = "dynamodb")]
1818
pub mod dynamodb;
19-
20-
pub mod mock;

0 commit comments

Comments
 (0)