diff options
Diffstat (limited to 'src/misc.rs')
-rw-r--r-- | src/misc.rs | 20 |
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 /// |