summaryrefslogtreecommitdiff
path: root/src/misc.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-05-28 18:14:14 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-05-28 20:17:14 +0200
commitcea0aed29feef1d07d91670ea63cd6af45efdfee (patch)
treeb7fbf0cc327b3432fefa7a0d9a5693bb672e3fa4 /src/misc.rs
parentff15cbec83dbd01c8b544453dcb825670d0f7df4 (diff)
downloadnitrokey-rs-cea0aed29feef1d07d91670ea63cd6af45efdfee.tar.gz
nitrokey-rs-cea0aed29feef1d07d91670ea63cd6af45efdfee.tar.bz2
Rewrap documentation comments to 100 characters
Diffstat (limited to 'src/misc.rs')
-rw-r--r--src/misc.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/misc.rs b/src/misc.rs
index 42f8639..16d5884 100644
--- a/src/misc.rs
+++ b/src/misc.rs
@@ -5,12 +5,12 @@ use util::CommandError;
/// methods will consume the current device instance. On success, they return the authenticated
/// device. Otherwise, they return the current unauthenticated device and the error code.
pub trait Authenticate {
- /// Performs user authentication. This method consumes the device. If
- /// successful, an authenticated device is returned. Otherwise, the
- /// current unauthenticated device and the error are returned.
+ /// Performs user authentication. This method consumes the device. If successful, an
+ /// authenticated device is returned. Otherwise, the current unauthenticated device and the
+ /// error are returned.
///
- /// This method generates a random temporary password that is used for all
- /// operations that require user access.
+ /// This method generates a random temporary password that is used for all operations that
+ /// require user access.
///
/// # Errors
///
@@ -51,12 +51,12 @@ pub trait Authenticate {
where
Self: Device + Sized;
- /// Performs admin authentication. This method consumes the device. If
- /// successful, an authenticated device is returned. Otherwise, the
- /// current unauthenticated device and the error are returned.
+ /// Performs admin authentication. This method consumes the device. If successful, an
+ /// authenticated device is returned. Otherwise, the current unauthenticated device and the
+ /// error are returned.
///
- /// This method generates a random temporary password that is used for all
- /// operations that require admin access.
+ /// This method generates a random temporary password that is used for all operations that
+ /// require admin access.
///
/// # Errors
///