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 1c9f3be commit 01056c5Copy full SHA for 01056c5
clippy_lints/src/methods/mod.rs
@@ -3617,14 +3617,14 @@ declare_clippy_lint! {
3617
/// ```rust
3618
/// # #![allow(unused)]
3619
/// let owned_string = "This is a string".to_owned();
3620
- /// owned_string.as_str().as_bytes()
+ /// owned_string.as_str().as_bytes();
3621
/// ```
3622
///
3623
/// Use instead:
3624
3625
3626
3627
- /// owned_string.as_bytes()
+ /// owned_string.as_bytes();
3628
3629
#[clippy::version = "1.74.0"]
3630
pub REDUNDANT_AS_STR,
0 commit comments