1
0
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:
Alexander Medvednikov 2020-06-09 23:04:46 +02:00 committed by GitHub
parent 66696e1329
commit 4fdb33bb0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]