We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f877fa5 commit 21fab26Copy full SHA for 21fab26
clippy_lints/src/methods/mod.rs
@@ -3796,8 +3796,9 @@ declare_clippy_lint! {
3796
///
3797
/// ### Known Problems
3798
3799
- /// This lint cannot detect if the split is intentionally restricted to a single type of newline (`\n` or `\r\n`),
3800
- /// for example during the parsing of a specific file format in which precisely one newline type is valid.
+ /// This lint cannot detect if the split is intentionally restricted to a single type of newline (`"\n"` or
+ /// `"\r\n"`), for example during the parsing of a specific file format in which precisely one newline type is
3801
+ /// valid.
3802
/// ```
3803
#[clippy::version = "1.76.0"]
3804
pub STR_SPLIT_AT_NEWLINE,
0 commit comments