Skip to content

Commit 41409d2

Browse files
author
skim
authored
trims trailing space in doc comments (#2210)
1 parent 64e53a5 commit 41409d2

File tree

1 file changed

+1
-1
lines changed
  • crates/cli-support/src/js

1 file changed

+1
-1
lines changed

crates/cli-support/src/js/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3356,7 +3356,7 @@ fn check_duplicated_getter_and_setter_names(
33563356
fn format_doc_comments(comments: &str, js_doc_comments: Option<String>) -> String {
33573357
let body: String = comments.lines().map(|c| format!("*{}\n", c)).collect();
33583358
let doc = if let Some(docs) = js_doc_comments {
3359-
docs.lines().map(|l| format!("* {} \n", l)).collect()
3359+
docs.lines().map(|l| format!("* {}\n", l)).collect()
33603360
} else {
33613361
String::new()
33623362
};

0 commit comments

Comments
 (0)