mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
minor: correct some typos
This commit is contained in:
parent
b0be2967cc
commit
ba2910a3a7
20 changed files with 402 additions and 205 deletions
|
@ -418,7 +418,7 @@ where
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn new_function_with_generics_and_wheres() {
|
||||
fn new_function_with_generics_and_where() {
|
||||
check_assist(
|
||||
generate_default_from_new,
|
||||
r#"
|
||||
|
|
|
@ -295,7 +295,7 @@ fn generate_impl(
|
|||
// those in strukt.
|
||||
//
|
||||
// These generics parameters will also be used in `field_ty` and
|
||||
// `where_clauses`, so we should substitude arguments in them as well.
|
||||
// `where_clauses`, so we should substitute arguments in them as well.
|
||||
let strukt_params = resolve_name_conflicts(strukt_params, &old_impl_params);
|
||||
let (field_ty, ty_where_clause) = match &strukt_params {
|
||||
Some(strukt_params) => {
|
||||
|
|
|
@ -120,7 +120,7 @@ fn main() -> () {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn fromed_in_child_mod_imported() {
|
||||
fn from_in_child_mod_imported() {
|
||||
check_assist(
|
||||
into_to_qualified_from,
|
||||
r#"
|
||||
|
@ -168,7 +168,7 @@ fn main() -> () {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn fromed_in_child_mod_not_imported() {
|
||||
fn from_in_child_mod_not_imported() {
|
||||
check_assist(
|
||||
into_to_qualified_from,
|
||||
r#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue