aboutsummaryrefslogtreecommitdiff
path: root/src/bio
diff options
context:
space:
mode:
Diffstat (limited to 'src/bio')
-rw-r--r--src/bio/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bio/mod.rs b/src/bio/mod.rs
index afc55849..7172b009 100644
--- a/src/bio/mod.rs
+++ b/src/bio/mod.rs
@@ -76,7 +76,7 @@ impl Reader for MemBio {
IoError {
kind: OtherIoError,
desc: "MemBio read error",
- detail: Some(format!("{}", SslError::get()))
+ detail: Some(format!("{:?}", SslError::get()))
}
};
Err(err)
@@ -96,7 +96,7 @@ impl Writer for MemBio {
Err(IoError {
kind: OtherIoError,
desc: "MemBio write error",
- detail: Some(format!("{}", SslError::get()))
+ detail: Some(format!("{:?}", SslError::get()))
})
} else {
Ok(())