Skip to content

Commit a661273

Browse files
committed
tests: fix broken time type ref
The type changed from `SystemTime` to `pki_types::UnixTime` and the doc comment wasn't updated.
1 parent 17c3a18 commit a661273

File tree

1 file changed

+1
-1
lines changed
  • rustls-platform-verifier/src/tests

1 file changed

+1
-1
lines changed

rustls-platform-verifier/src/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn assert_cert_error_eq<E: StdError + PartialEq + 'static>(
5252
}
5353
}
5454

55-
/// Return a fixed [SystemTime] for certificate validation purposes.
55+
/// Return a fixed [`pki_types::UnixTime`] for certificate validation purposes.
5656
///
5757
/// We fix the "now" value used for certificate validation to a fixed point in time at which
5858
/// we know the test certificates are valid. This must be updated if the mock certificates

0 commit comments

Comments
 (0)