We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a544725 commit 3d48d2eCopy full SHA for 3d48d2e
src/comment.rs
@@ -164,7 +164,7 @@ pub(crate) fn is_last_comment_block(s: &str) -> bool {
164
/// ends on that line.
165
fn is_first_comment_line_ends_comment(s: &str) -> bool {
166
if s.starts_with("/*") {
167
- // FIXME: mixed block and line comments on the line are not be properlly formatted,
+ // FIXME: mixed block and line comments on the same line are not properly formatted,
168
// e.g. "/* Block comment /* // Line comment" at the end of the line.
169
s.lines().next().map_or(false, |l| l.ends_with("*/"))
170
} else if s.starts_with("//") {
0 commit comments