1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

Fix: vet false warning on brackets in documentation (#17767)

This commit is contained in:
Artem Yurchenko
2023-03-25 20:51:45 +01:00
committed by GitHub
parent db97630117
commit 713c95fcc8
3 changed files with 26 additions and 12 deletions

View File

@ -0,0 +1,9 @@
// normalize_vector Normalizes a vector
//
// Example:
// ```v
// vector := Vector{3, 4}
// normalize_vector(vector) // Vector{0.6, 0.8}
// ```
pub fn normalize_vector(vector f32) {}