From 2f6b6f1cd01f3e9b12db165304a3e92fe3dfe929 Mon Sep 17 00:00:00 2001 From: Sosthene <51865119+sgued@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:38:47 +0100 Subject: [PATCH] Fix hyperlinks in doc (#608) Co-authored-by: Lucio Franco --- prost-types/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prost-types/src/lib.rs b/prost-types/src/lib.rs index 9566f02ec..948c411d1 100644 --- a/prost-types/src/lib.rs +++ b/prost-types/src/lib.rs @@ -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. @@ -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) {