Commit 2d9b5054 authored by Ian Jackson's avatar Ian Jackson
Browse files

AbsRetryTime::from_sum: Add missing full stop

parent 07de5837
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -151,7 +151,7 @@ pub enum AbsRetryTime {
}
}


impl AbsRetryTime {
impl AbsRetryTime {
    /// Construct an AbsRetryTime representing `base` + `plus`
    /// Construct an AbsRetryTime representing `base` + `plus`.
    fn from_sum(base: Instant, plus: Duration) -> Self {
    fn from_sum(base: Instant, plus: Duration) -> Self {
        match base.checked_add(plus) {
        match base.checked_add(plus) {
            Some(t) => AbsRetryTime::At(t),
            Some(t) => AbsRetryTime::At(t),