aboutsummaryrefslogtreecommitdiff
path: root/src/auth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth.rs')
-rw-r--r--src/auth.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auth.rs b/src/auth.rs
index 8460fae..0918222 100644
--- a/src/auth.rs
+++ b/src/auth.rs
@@ -42,7 +42,7 @@ pub trait Authenticate {
/// user.device()
/// },
/// Err((device, err)) => {
- /// println!("Could not authenticate as user: {:?}", err);
+ /// println!("Could not authenticate as user: {}", err);
/// device
/// },
/// };
@@ -88,7 +88,7 @@ pub trait Authenticate {
/// admin.device()
/// },
/// Err((device, err)) => {
- /// println!("Could not authenticate as admin: {:?}", err);
+ /// println!("Could not authenticate as admin: {}", err);
/// device
/// },
/// };
@@ -277,7 +277,7 @@ impl<T: Device> Admin<T> {
/// admin.write_config(config);
/// ()
/// },
- /// Err((_, err)) => println!("Could not authenticate as admin: {:?}", err),
+ /// Err((_, err)) => println!("Could not authenticate as admin: {}", err),
/// };
/// # Ok(())
/// # }