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 0ade0b0 commit a5c48c4Copy full SHA for a5c48c4
cpp-linter-lib/src/clang_tools/mod.rs
@@ -417,16 +417,13 @@ pub trait MakeSuggestions {
417
.as_str(),
418
)
419
} else {
420
- suggestion = format!(
421
- "{}\n```suggestion\n{suggestion}```",
422
- suggestion_help.unwrap_or_default()
423
- );
+ suggestion = format!("```suggestion\n{suggestion}```",);
424
}
425
426
let comment = Suggestion {
427
line_start: start_line,
428
line_end: end_line,
429
- suggestion,
+ suggestion: format!("{}\n{suggestion}", suggestion_help.unwrap_or_default()),
430
path: file_name.clone(),
431
};
432
if !review_comments.is_comment_in_suggestions(&comment) {
0 commit comments