Skip to content

Commit

Permalink
Update src/modules/imports/import_string.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Phoenix Himself <[email protected]>
  • Loading branch information
Mte90 and Ph0enixKM committed Jul 10, 2024
1 parent 3f71a3e commit 46289b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/imports/import_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct ImportString {

impl ImportString {
fn resolve_path(&mut self, meta: &ParserMetadata, tok: Option<Token>) -> SyntaxResult {
if self.value.starts_with("std") {
if self.value.starts_with("std/") {
return Ok(())
}
let mut path = meta.context.path.as_ref()
Expand Down

0 comments on commit 46289b9

Please sign in to comment.