mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
readme: minor fixes
This commit is contained in:
parent
b7b6c2368e
commit
d5ad96f876
@ -26,10 +26,10 @@
|
||||
optimization)* ([demo video](https://www.youtube.com/watch?v=pvP6wmcl_Sc))
|
||||
- Easy to develop: V compiles itself in less than a second
|
||||
- Performance: as fast as C (V's main backend compiles to human-readable C)
|
||||
- Safety: no null, no globals, no undefined behavior, immutability by default
|
||||
- Safety: no null, no globals, no undefined behavior (wip), immutability by default
|
||||
- C to V translation ([Translating DOOM demo video](https://www.youtube.com/watch?v=6oXrz3oRoEg))
|
||||
- Hot code reloading
|
||||
- [Innovative memory management](https://vlang.io/#memory) ([demo video](https://www.youtube.com/watch?v=gmB8ea8uLsM))
|
||||
- [Flexible memory management](https://vlang.io/#memory) ([demo video](https://www.youtube.com/watch?v=gmB8ea8uLsM))
|
||||
- [Cross-platform UI library](https://github.com/vlang/ui)
|
||||
- Built-in graphics library
|
||||
- Easy cross-compilation
|
||||
|
@ -2717,8 +2717,6 @@ println(c()) // 3
|
||||
```
|
||||
|
||||
If you need the value to be modified outside the function, use a reference.
|
||||
**Warning**: _you need to make sure the reference is always valid,
|
||||
otherwise this can result in undefined behavior._
|
||||
|
||||
```v oksyntax
|
||||
mut i := 0
|
||||
|
Loading…
Reference in New Issue
Block a user