doc: make attrs more clear

pull/5311/head
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
1 changed files with 2 additions and 0 deletions

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]