Skip to content

Commit

Permalink
Remove the .ab extension from import statements for stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Dec 16, 2024
1 parent 79fa51c commit 5290f70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/function/declaration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ impl FunctionDeclaration {
.map(Path::new)
.and_then(Path::file_name)
.and_then(OsStr::to_str)
.map(|s| s.trim_end_matches(".ab"))
.map(String::from)
.unwrap_or_default();
result.push(String::from("```ab"));
Expand Down

0 comments on commit 5290f70

Please sign in to comment.