Skip to content

Commit

Permalink
fix no-std compat (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
danburkert committed Apr 4, 2022
1 parent 6bdb35a commit 7a41f27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion prost-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ impl Timestamp {
/// 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) {
// Make sure nanos is in the range.
if self.nanos <= -NANOS_PER_SECOND || self.nanos >= NANOS_PER_SECOND {
Expand Down

0 comments on commit 7a41f27

Please sign in to comment.