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

docs: update deprecated attr syntax #19908

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented Nov 17, 2023

🤖[deprecated] Generated by Copilot at 8aa2666

This pull request replaces the old bracket syntax for various attributes in V with the new @ syntax. This affects the documentation, the tutorials, the examples, and some libraries and tests. The purpose of this change is to make the code more consistent and readable.

🤖[deprecated] Generated by Copilot at 8aa2666

  • Update the syntax for various attributes in the documentation and example code to use @ instead of [ and ] (link-link, link, link, link, link, link, link, link, link, link, link, link, link-link)
  • Update the syntax for the [params] attribute in the test code for the V formatter to use @ instead of [ and ] (link)
  • Remove a trailing whitespace in the documentation for the C to V translation (link)

@ttytm ttytm changed the title all: update remaining deprecated attr syntax docs: update deprecated attr syntax Nov 17, 2023
@spytheman spytheman merged commit b347f54 into vlang:master Nov 17, 2023
41 of 43 checks passed
@ttytm ttytm deleted the all/attr-syntax branch December 15, 2023 22:08
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.

2 participants