Skip to content

Commit 3d48d2e

Browse files
committed
Change FIXME comment per reviewer suggestion
1 parent a544725 commit 3d48d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub(crate) fn is_last_comment_block(s: &str) -> bool {
164164
/// ends on that line.
165165
fn is_first_comment_line_ends_comment(s: &str) -> bool {
166166
if s.starts_with("/*") {
167-
// FIXME: mixed block and line comments on the line are not be properlly formatted,
167+
// FIXME: mixed block and line comments on the same line are not properly formatted,
168168
// e.g. "/* Block comment /* // Line comment" at the end of the line.
169169
s.lines().next().map_or(false, |l| l.ends_with("*/"))
170170
} else if s.starts_with("//") {

0 commit comments

Comments
 (0)