diff options
author | Stuart Stock <stuart@int08h.com> | 2020-03-21 11:29:03 -0500 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2020-03-21 11:29:03 -0500 |
commit | e13d6fdfd1317a69b7b10a69f8206634bb69dda9 (patch) | |
tree | 0658c7cf5377b08073b5e7104d3d9db97c54b65a | |
parent | 32f11aa3a12692bcc97fe8e06893bc608db30489 (diff) | |
download | roughenough-e13d6fdfd1317a69b7b10a69f8206634bb69dda9.zip |
Remove deprecated `std::error::Error::description` calls
-rw-r--r-- | src/kms/awskms.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kms/awskms.rs b/src/kms/awskms.rs index aed1056..e4bc3eb 100644 --- a/src/kms/awskms.rs +++ b/src/kms/awskms.rs @@ -52,7 +52,7 @@ pub mod inner { let region_part = parts.get(3).expect("region is missing"); let region = match Region::from_str(region_part) { Ok(r) => r, - Err(e) => return Err(KmsError::InvalidConfiguration(e.description().to_string())), + Err(e) => return Err(KmsError::InvalidConfiguration(e.to_string())), }; Ok(AwsKms { @@ -89,7 +89,7 @@ pub mod inner { )) } } - Err(e) => Err(KmsError::OperationFailed(e.description().to_string())), + Err(e) => Err(KmsError::OperationFailed(e.to_string())), } } @@ -118,7 +118,7 @@ pub mod inner { )) } } - Err(e) => Err(KmsError::OperationFailed(e.description().to_string())), + Err(e) => Err(KmsError::OperationFailed(e.to_string())), } } } |