v: change old attr syntax mention to new one in comments too (#21860)

This commit is contained in:
Felipe Pena 2024-07-14 03:39:37 -03:00 committed by GitHub
parent 5c2d64a235
commit 769e9147c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 92 additions and 92 deletions

View file

@ -332,7 +332,7 @@ pub fn (a Any) reflect[T]() T {
mut toml_field_name := field.name
// Remapping of field names, for example:
// TOML: 'assert = "ok"'
// V: User { asrt string [toml: 'assert'] }
// V: User { asrt string @[toml: 'assert'] }
// User.asrt == 'ok'
for attr in field.attrs {
if attr.starts_with('toml:') {