]> git.proxmox.com Git - proxmox-acme-rs.git/commitdiff
formatting fixups
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 7 May 2021 09:49:26 +0000 (11:49 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 7 May 2021 09:49:26 +0000 (11:49 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/account.rs
src/authorization.rs
src/order.rs

index 456c3d08e5373bccb7418af75a0703420eec45b0..8fe227263f63ad7c2517a5d1a464d148ea50d5ac 100644 (file)
@@ -272,7 +272,8 @@ pub struct CertificateRevocation<'a> {
 impl CertificateRevocation<'_> {
     /// Create the revocation request using the specified nonce for the given directory.
     pub fn request(&self, directory: &Directory, nonce: &str) -> Result<Request, Error> {
-        self.account.post_request(&directory.data.revoke_cert, nonce, &self.data)
+        self.account
+            .post_request(&directory.data.revoke_cert, nonce, &self.data)
     }
 }
 
index 0fe5194ebab1045311736c5ec2c23c7aa52c19f0..fee3614dfbe1108c7987170a01321ce70fa9102a 100644 (file)
@@ -138,7 +138,6 @@ fn is_false(b: &bool) -> bool {
 /// This is created via [`Account::get_authorization`](crate::Account::get_authorization()).
 pub struct GetAuthorization {
     //order: OrderData,
-
     /// The request to send to the ACME provider. This is wrapped in an option in order to allow
     /// moving it out instead of copying the contents.
     ///
index 53ac68842435d23ba6c8026e494b7312221e4083..def5a38097dc8ba1c0f527cdf65fd646c702278e 100644 (file)
@@ -155,7 +155,6 @@ impl Order {
 /// This is created via [`Account::new_order`](crate::Account::new_order()).
 pub struct NewOrder {
     //order: OrderData,
-
     /// The request to execute to place the order. When creating a [`NewOrder`] via
     /// [`Account::new_order`](crate::Account::new_order) this is guaranteed to be `Some`.
     pub request: Option<Request>,