mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
Auto merge of #12854 - RalfJung:generate_new, r=Veykril
fix generate_new doc Looks like this got copied from `generate_impl` without adjusting the description.
This commit is contained in:
commit
f3a46f689c
@ -12,7 +12,7 @@ use crate::{
|
||||
|
||||
// Assist: generate_new
|
||||
//
|
||||
// Adds a new inherent impl for a type.
|
||||
// Adds a `fn new` for a type.
|
||||
//
|
||||
// ```
|
||||
// struct Ctx<T: Clone> {
|
||||
|
Loading…
Reference in New Issue
Block a user