docs: minor fixes
							parent
							
								
									649a0140fd
								
							
						
					
					
						commit
						0a89aa0044
					
				
							
								
								
									
										14
									
								
								doc/docs.md
								
								
								
								
							
							
						
						
									
										14
									
								
								doc/docs.md
								
								
								
								
							|  | @ -15,7 +15,7 @@ Despite being simple, V gives the developer a lot of power. Anything you can do | ||||||
| you can do in V. | you can do in V. | ||||||
| 
 | 
 | ||||||
| ## Table of Contents | ## Table of Contents | ||||||
| <ol> | 
 | ||||||
| <table> | <table> | ||||||
| 	<tr> | 	<tr> | ||||||
| 		<td><a href='#hello-world'>1. Hello world</a></td> | 		<td><a href='#hello-world'>1. Hello world</a></td> | ||||||
|  | @ -80,7 +80,7 @@ you can do in V. | ||||||
| 		<td><a href='appendix-ii-keywords'>Appendix II: Operators</a></td> | 		<td><a href='appendix-ii-keywords'>Appendix II: Operators</a></td> | ||||||
| 	</tr> | 	</tr> | ||||||
| </table> | </table> | ||||||
| </ol> | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ## Hello World | ## Hello World | ||||||
|  | @ -161,9 +161,9 @@ println(b) // 3 | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Functions can return multiple values. | Functions can return multiple values. | ||||||
| Like constants and types, functions are private (not exported) by default. | 
 | ||||||
| To allow other modules to use them, prepend `pub`. The same applies | <p> </p> | ||||||
| to constants and types. | 
 | ||||||
| 
 | 
 | ||||||
| ```v | ```v | ||||||
| pub fn public_function() { | pub fn public_function() { | ||||||
|  | @ -173,6 +173,10 @@ fn private_function() { | ||||||
| } | } | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | Like constants and types, functions are private (not exported) by default. | ||||||
|  | To allow other modules to use them, prepend `pub`. The same applies | ||||||
|  | to constants and types. | ||||||
|  | 
 | ||||||
| ## Constants & variables | ## Constants & variables | ||||||
| 
 | 
 | ||||||
| ```v | ```v | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue