Skip to content

Commit ddb4f69

Browse files
authored
minor docs improvements (#367)
Signed-off-by: Guillaume W. Bres <[email protected]>
1 parent 685a74e commit ddb4f69

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/navigation/rinex/time.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ impl Rinex {
1414
/// // For example: BDT is not available.
1515
/// let rinex = Rinex::from_gzip_file("data/NAV/V3/ESBC00DNK_R_20201770000_01D_MN.rnx.gz")
1616
/// .unwrap();
17-
17+
///
1818
/// let db = rinex.time_corrections_database()
1919
/// .unwrap_or_else(|| {
20-
/// panic!("Time corrections should exist for V3/BRDC00GOP_R_20210010000_01D_MN.rnx.gz");
20+
/// panic!("Time corrections should exist for V3/ESBC00DNK_R_20201770000_01D_MN.rnx.gz");
2121
/// });
2222
///
2323
/// // In its default form, the database applies without any restriction.
24-
2524
/// for (t_before, t_in, t_after, ts) in [
2625
/// (
2726
/// "2020-06-24T12:00:00 GPST",
@@ -76,23 +75,23 @@ impl Rinex {
7675
/// // verify that BDT is indeed not available
7776
/// let t_before = "2020-06-24T12:00:00 BDT";
7877
/// let t = Epoch::from_str(t_before).unwrap();
79-
78+
///
8079
/// assert!(db.precise_epoch_correction(t, TimeScale::GPST)
8180
/// .is_none(),
8281
/// "GPST/BDT is not available!",
8382
/// );
8483
///
8584
/// let t_in = "2020-06-25T12:00:00 BDT";
8685
/// let t = Epoch::from_str(t_in).unwrap();
87-
86+
///
8887
/// assert!(db.precise_epoch_correction(t, TimeScale::GPST)
8988
/// .is_none(),
9089
/// "GPST/BDT is not available!",
9190
/// );
92-
91+
///
9392
/// let t_after = "2020-06-26T01:00:00 BDT";
9493
/// let t = Epoch::from_str(t_after).unwrap();
95-
94+
///
9695
/// assert!(db.precise_epoch_correction(t, TimeScale::GPST)
9796
/// .is_none(),
9897
/// "GPST/BDT is not available!",

0 commit comments

Comments
 (0)