We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf560df commit fb9b494Copy full SHA for fb9b494
src/datetime/mod.rs
@@ -1971,6 +1971,8 @@ impl From<DateTime<Utc>> for js_sys::Date {
1971
not(any(target_os = "emscripten", target_os = "wasi", target_os = "linux"))
1972
))]
1973
mod wasm_impls {
1974
+ use crate::{DateTime, Utc};
1975
+
1976
impl wasm_bindgen::convert::FromWasmAbi for DateTime<Utc> {
1977
type Abi = <js_sys::Date as wasm_bindgen::convert::FromWasmAbi>::Abi;
1978
unsafe fn from_abi(js: Self::Abi) -> Self {
0 commit comments