Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Jul 26, 2024
1 parent 6af1fdc commit eb2ec2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fitsio/src/headers/header_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct HeaderValue<T> {
pub comment: Option<String>,
}

// Allow printing of `HeaderValue`s
/// Allow printing of `HeaderValue`s
impl<T> Debug for HeaderValue<T>
where
T: Debug,
Expand All @@ -27,8 +27,8 @@ where
}
}

// Allow comparing of `HeaderValue`'s where the `value` is equatable
// so that e.g. `HeaderValue<f64>` can be compared to `f64`
/// Allow comparing of `HeaderValue`'s where the `value` is equatable
/// so that e.g. `HeaderValue<f64>` can be compared to `f64`
impl<T> PartialEq<T> for HeaderValue<T>
where
T: PartialEq,
Expand All @@ -38,7 +38,7 @@ where
}
}

/// Allow `HeaderValue` to be clnned
/// Allow `HeaderValue` to be cloned
///
/// ```rust
/// # use fitsio::headers::HeaderValue;
Expand Down

0 comments on commit eb2ec2a

Please sign in to comment.