mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +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
|
// Assist: generate_new
|
||||||
//
|
//
|
||||||
// Adds a new inherent impl for a type.
|
// Adds a `fn new` for a type.
|
||||||
//
|
//
|
||||||
// ```
|
// ```
|
||||||
// struct Ctx<T: Clone> {
|
// struct Ctx<T: Clone> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user