formatting fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-05-07 11:49:26 +02:00
parent 9538126247
commit f406e6fb34
3 changed files with 2 additions and 3 deletions

View 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)
}
}

View 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.
///

View 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>,