doc: make attrs more clear
parent
66696e1329
commit
4fdb33bb0a
|
@ -1942,6 +1942,8 @@ On Unix-like platforms, the file can be run directly after making it executable
|
|||
|
||||
V has several attributes that modify the behavior of functions and structs.
|
||||
|
||||
An attribute is specifed inside `[]` right before the function/struct declaration and applies only to the following definition.
|
||||
|
||||
```v
|
||||
// Calling this function will result in a deprecation warning
|
||||
[deprecated]
|
||||
|
|
Loading…
Reference in New Issue