From 4fdb33bb0a0fe2c5dac3f538234b1542c8dab9e1 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 9 Jun 2020 23:04:46 +0200 Subject: [PATCH] doc: make attrs more clear --- doc/docs.md | 2 ++ 1 file changed, 2 insertions(+) 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]