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.
2 parents c0939b1 + c5c1477 commit 1cb3905Copy full SHA for 1cb3905
clippy_lints/src/methods/mod.rs
@@ -3981,6 +3981,7 @@ declare_clippy_lint! {
3981
}
3982
3983
declare_clippy_lint! {
3984
+ /// ### What it does
3985
/// Checks for the manual creation of C strings (a string with a `NUL` byte at the end), either
3986
/// through one of the `CStr` constructor functions, or more plainly by calling `.as_ptr()`
3987
/// on a (byte) string literal with a hardcoded `\0` byte at the end.
0 commit comments