Skip to content

Commit

Permalink
docs: Remove the .ab extension from import statements for stdlib (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Dec 17, 2024
1 parent 79fa51c commit 2d89f1e
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 2d89f1e

Please sign in to comment.