mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
Merge pull request #3314 from matthiaskrgr/mem_forget_sample
mem_forget: fix syntax error in code sample
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
/// mem::forget(Rc::new(55)))
|
||||
/// mem::forget(Rc::new(55))
|
||||
/// ```
|
||||
declare_clippy_lint! {
|
||||
pub MEM_FORGET,
|
||||
|
||||
Reference in New Issue
Block a user