diff --git a/src/error.rs b/src/error.rs index a7439595b..e45e719d4 100644 --- a/src/error.rs +++ b/src/error.rs @@ -47,7 +47,7 @@ pub const UNKNOWN_TRANSACTION_COMMIT_RESULT: &str = "UnknownTransactionCommitRes pub type Result = std::result::Result; /// An error that can occur in the `mongodb` crate. The inner -/// [`ErrorKind`](enum.ErrorKind.html) is wrapped in an `Arc` to allow the errors to be +/// [`ErrorKind`](enum.ErrorKind.html) is wrapped in an `Box` to allow the errors to be /// cloned. #[derive(Clone, Debug, Error)] #[cfg_attr(test, error("Kind: {kind}, labels: {labels:?}, backtrace: {bt}"))]