Skip to content

Commit a36c2b6

Browse files
authored
re-export DefaultHostSystem (#590)
In `Temporal::now` a type `Now<DefaultHostSystem>` is returned. However, the `DefaultHostSystem` is not accessible from the outside, making it impossible to use it as a type. I've also re-exported the `EmptyHostSystem`, where I'm not 100% sure if it should be, but I believe it is correct to do so.
1 parent 1d1b123 commit a36c2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ pub use error::TemporalError;
306306

307307
#[cfg(feature = "sys")]
308308
#[doc(inline)]
309-
pub use sys::Temporal;
309+
pub use sys::{DefaultHostSystem, Temporal};
310310

311311
pub mod partial {
312312
//! Partial date and time component records

0 commit comments

Comments
 (0)