diff --git a/doc/docs.md b/doc/docs.md index 3e158c81f7..2c4753ed14 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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]