Update README.md
This commit is contained in:
		
							parent
							
								
									09cec9c110
								
							
						
					
					
						commit
						cbea8660c2
					
				| @ -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 | ||||
|  | ||||
| @ -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]; | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user