Skip to content

Commit e018d0a

Browse files
committed
keylime/crypto: Fix indentation of documentation comment
These were reported by clippy as issues Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
1 parent 1e252b6 commit e018d0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

keylime/src/crypto/x509.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl<'a> CertificateBuilder<'a> {
9898
/// # Arguments:
9999
///
100100
/// * days_from_now (u32): The number of days from now when the built certificate will become
101-
/// valid
101+
/// valid
102102
pub fn not_before(
103103
&'a mut self,
104104
days_from_now: u32,
@@ -125,7 +125,7 @@ impl<'a> CertificateBuilder<'a> {
125125
/// # Arguments:
126126
///
127127
/// * version (i32): The version number. Note that the version is zero-indexed, meaning passing
128-
/// the value `2` corresponds to the version 3 of the X.509 standard
128+
/// the value `2` corresponds to the version 3 of the X.509 standard
129129
///
130130
/// If not called, the version 3 of the X.509 standard will be used
131131
pub fn version(
@@ -154,7 +154,7 @@ impl<'a> CertificateBuilder<'a> {
154154
/// # Arguments:
155155
///
156156
/// * dns_names (Vec<&str>): A Vec<&str> containing DNS names to add to the certificate Subject
157-
/// Alternative Name
157+
/// Alternative Name
158158
pub fn add_dns_names(
159159
&'a mut self,
160160
dns_names: Vec<&'a str>,
@@ -177,7 +177,7 @@ impl<'a> CertificateBuilder<'a> {
177177
/// # Arguments:
178178
///
179179
/// * ips: (Vec<&str>): A Vec<&str> containing IPs to add to the certificate Subject
180-
/// Alternative Name
180+
/// Alternative Name
181181
pub fn add_ips(
182182
&'a mut self,
183183
ips: Vec<&'a str>,
@@ -200,7 +200,7 @@ impl<'a> CertificateBuilder<'a> {
200200
/// # Arguments:
201201
///
202202
/// * extensions (Vec<X509Extension>): A Vec<X509Extension> containing the additional
203-
/// extensions to include in the certificate
203+
/// extensions to include in the certificate
204204
pub fn add_extensions(
205205
&'a mut self,
206206
extensions: Vec<X509Extension>,

0 commit comments

Comments
 (0)