mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: make attrs more clear
This commit is contained in:
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
Block a user