aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/fragments/stmt/err
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-03-06 18:44:34 +0000
committerGitHub <[email protected]>2021-03-06 18:44:34 +0000
commit71b8fb7c572eb658ee1136f086d6348aafba1e1d (patch)
tree6643987173e3748feda4f7cbedb329adb7e1768d /crates/syntax/test_data/parser/fragments/stmt/err
parentcd60c4f76ce21bac16ca90d94b29096739c9c551 (diff)
parente29b53f1e6ba067725c0cbbf01c8f0aa7e09913b (diff)
Merge #7894
7894: generate_function assist: convert arg names to lower snake case r=Veykril a=JoshMcguigan This PR fixes one of the points listed by @TimoFreiberg in #3639. Specifically that all generated argument names should be converted to lower snake case. ```rust struct BazBaz; fn foo() { bar$0(BazBaz); // ^ when triggering the assist here, you get the output below } // BEFORE fn bar(BazBaz: BazBaz) ${0:-> ()} { todo!() } // AFTER fn bar(baz_baz: BazBaz) ${0:-> ()} { todo!() } ``` Co-authored-by: Josh Mcguigan <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/fragments/stmt/err')
0 files changed, 0 insertions, 0 deletions