summaryrefslogtreecommitdiff
path: root/core/module_specifier.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/module_specifier.rs')
-rw-r--r--core/module_specifier.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/module_specifier.rs b/core/module_specifier.rs
index dc6b4d6bf..4de875073 100644
--- a/core/module_specifier.rs
+++ b/core/module_specifier.rs
@@ -39,10 +39,10 @@ impl fmt::Display for ModuleResolutionError {
InvalidPath(ref path) => write!(f, "invalid module path: {:?}", path),
ImportPrefixMissing(ref specifier, ref maybe_referrer) => write!(
f,
- "relative import path \"{}\" not prefixed with / or ./ or ../{}",
+ "Relative import path \"{}\" not prefixed with / or ./ or ../{}",
specifier,
match maybe_referrer {
- Some(referrer) => format!(" Imported from \"{}\"", referrer),
+ Some(referrer) => format!(" from \"{}\"", referrer),
None => format!(""),
}
),