88//! midnight on Sunday.
99//!
1010//! [`GpsTime`] is the primary representation used in swiftnav-rs. Other time bases
11- //! are available, such as [`Utctime `], [`GalTime`], [`BdsTime`], and [`GloTime`]
11+ //! are available, such as [`UtcTime `], [`GalTime`], [`BdsTime`], and [`GloTime`]
1212//! along with conversions for all of these to and from [`GpsTime`].
1313//! Not all functionality is available in these other representations, so it's
1414//! intended that all times are to converted to [`GpsTime`] before use with
@@ -603,15 +603,15 @@ impl UtcParams {
603603 } )
604604 }
605605
606- /// Modulo 1 sec offset from GPS to UTC [s ]
606+ /// Modulo 1 sec offset from GPS to UTC \[s\ ]
607607 pub fn a0 ( & self ) -> f64 {
608608 self . 0 . a0
609609 }
610- /// Drift of time offset from GPS to UTC [s/s]
610+ /// Drift of time offset from GPS to UTC \ [s/s\ ]
611611 pub fn a1 ( & self ) -> f64 {
612612 self . 0 . a1
613613 }
614- /// Drift rate correction from GPS to UTC [s/s]
614+ /// Drift rate correction from GPS to UTC \ [s/s\ ]
615615 pub fn a2 ( & self ) -> f64 {
616616 self . 0 . a2
617617 }
@@ -623,11 +623,11 @@ impl UtcParams {
623623 pub fn t_lse ( & self ) -> GpsTime {
624624 GpsTime ( self . 0 . t_lse )
625625 }
626- /// Leap second delta from GPS to UTC before LS event [s ]
626+ /// Leap second delta from GPS to UTC before LS event \[s\ ]
627627 pub fn dt_ls ( & self ) -> i8 {
628628 self . 0 . dt_ls
629629 }
630- /// Leap second delta from GPS to UTC after LS event [s ]
630+ /// Leap second delta from GPS to UTC after LS event \[s\ ]
631631 pub fn dt_lsf ( & self ) -> i8 {
632632 self . 0 . dt_lsf
633633 }
@@ -742,7 +742,7 @@ impl From<MJD> for UtcTime {
742742 }
743743}
744744
745- #[ cfg( feature = "chrono-support " ) ]
745+ #[ cfg( feature = "chrono" ) ]
746746impl From < UtcTime > for chrono:: DateTime < chrono:: offset:: Utc > {
747747 fn from ( utc : UtcTime ) -> chrono:: DateTime < chrono:: offset:: Utc > {
748748 use chrono:: prelude:: * ;
@@ -766,7 +766,7 @@ impl From<UtcTime> for chrono::DateTime<chrono::offset::Utc> {
766766 }
767767}
768768
769- #[ cfg( feature = "chrono-support " ) ]
769+ #[ cfg( feature = "chrono" ) ]
770770impl < Tz : chrono:: offset:: TimeZone > From < chrono:: DateTime < Tz > > for UtcTime {
771771 fn from ( chrono : chrono:: DateTime < Tz > ) -> UtcTime {
772772 use chrono:: prelude:: * ;
0 commit comments