diff options
author | Andreu Botella <andreu@andreubotella.com> | 2023-04-08 17:00:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-08 17:00:02 +0200 |
commit | 8c4f37da2a9052f1550200ae8447f119c5f4e2a6 (patch) | |
tree | a978b8929e91a57c853859e6f433e30faa209648 /core/error.rs | |
parent | b82168a1f645e799a3078c7fc2fd05c04d5e97d0 (diff) |
cleanup(core): Move `JsRealm` into a separate module (#18641)
This will help make reviews easier for #15760, which moves a number of
methods related to module loading from `JsRuntime` into `JsRealm`.
Diffstat (limited to 'core/error.rs')
-rw-r--r-- | core/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/error.rs b/core/error.rs index e0cae2673..b35544bb1 100644 --- a/core/error.rs +++ b/core/error.rs @@ -9,8 +9,8 @@ use std::fmt::Formatter; use anyhow::Error; +use crate::realm::JsRealm; use crate::runtime::GetErrorClassFn; -use crate::runtime::JsRealm; use crate::runtime::JsRuntime; use crate::source_map::apply_source_map; use crate::source_map::get_source_line; |