From cea0aed29feef1d07d91670ea63cd6af45efdfee Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 28 May 2018 18:14:14 +0000 Subject: Rewrap documentation comments to 100 characters --- src/misc.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/misc.rs') 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 /// -- cgit v1.2.1