Skip to content

Commit

Permalink
Fix hyperlinks in doc (#608)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucio Franco <[email protected]>
  • Loading branch information
sgued and LucioFranco authored Mar 22, 2022
1 parent c577d3f commit 2f6b6f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prost-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ impl Duration {
/// Normalizes the duration to a canonical format.
///
/// Based on [`google::protobuf::util::CreateNormalized`][1].
///
/// [1]: https://github.com/google/protobuf/blob/v3.3.2/src/google/protobuf/util/time_util.cc#L79-L100
pub fn normalize(&mut self) {
// Make sure nanos is in the range.
Expand Down Expand Up @@ -125,6 +126,7 @@ impl Timestamp {
/// Normalizes the timestamp to a canonical format.
///
/// Based on [`google::protobuf::util::CreateNormalized`][1].
///
/// [1]: https://github.com/google/protobuf/blob/v3.3.2/src/google/protobuf/util/time_util.cc#L59-L77
#[cfg(feature = "std")]
pub fn normalize(&mut self) {
Expand Down

0 comments on commit 2f6b6f1

Please sign in to comment.