Skip to content

Commit

Permalink
docs for Instant: Break apart the summary line
Browse files Browse the repository at this point in the history
rustdoc treats the first "paragraph" as the summary line.
Probably we dodn't want that whole paragraph there.
  • Loading branch information
ijackson committed Mar 21, 2024
1 parent 56af43f commit 7834499
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/instant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ use super::duration::*;
#[allow(unused_imports)]
use super::helpers::*;

/// A measurement of a *monotonically* increasing clock. Opaque and useful only
/// A measurement of a *monotonically* increasing clock.
///
/// Opaque and useful only
/// with `Duration`.
/// Resulting durations are actual durations; they do not get affected by
/// clock adjustments, leap seconds, or similar.
Expand Down

0 comments on commit 7834499

Please sign in to comment.