Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(complete): Use Elvish v0.17 lambda syntax #3285

Merged
merged 1 commit into from Jan 12, 2022
Merged

fix(complete): Use Elvish v0.17 lambda syntax #3285

merged 1 commit into from Jan 12, 2022

Conversation

cherryblossom000
Copy link
Contributor

Elvish v0.17 deprecated the old lambda syntax ([arg1 arg2] { body }) in favour of the new {|arg1 arg2| body } syntax. This PR uses the new syntax to stop deprecation warnings.

[Elvish v0.17][1] deprecated the old lambda syntax (`[arg1 arg2] { body }`)
in favour of the new `{|arg1 arg2| body }` syntax. This commit uses the
new syntax to stop deprecation warnings.

[1]: https://elv.sh/blog/0.17.0-release-notes.html#deprecated-features
@cherryblossom000 cherryblossom000 changed the title Use Elvish v0.17 lambda syntax in completions generation fix(complete): Use Elvish v0.17 lambda syntax Jan 12, 2022
@epage
Copy link
Member

epage commented Jan 12, 2022

Thanks!

@epage epage merged commit df0e6d8 into clap-rs:master Jan 12, 2022
@cherryblossom000 cherryblossom000 deleted the elvish-0.17 branch January 12, 2022 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants