Update README.md

This commit is contained in:
Sofia 2025-07-21 09:57:18 +03:00
parent 09cec9c110
commit cbea8660c2
2 changed files with 5 additions and 4 deletions

View File

@ -39,7 +39,8 @@ Currently missing relevant features (TODOs) are:
- ~~Strings~~ (DONE)
- Loops
- Debug Information (PARTIALLY DONE)
- Borrows+Pointers
- ~~Borrows~~ (DONE)
- Pointers
Smaller features:
- Easier way to initialize arrays with a single value

View File

@ -2,10 +2,10 @@
fn main() -> u32 {
let mut value = 6;
let mut value = [4, 3, 2];
let mut borrow = &value;
*borrow = 17;
(*borrow)[1] = 17;
return *borrow;
return value[1];
}