mirror of
https://bitbucket.org/Mattrixwv/rusttutorials.git
synced 2025-12-07 11:03:58 -05:00
Updated to run functions from main function
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
//This is a hello world program for rust
|
||||
|
||||
|
||||
fn main(){
|
||||
pub fn main(){
|
||||
//Basic printing
|
||||
println!("Hello World");
|
||||
let x = 5;
|
||||
|
||||
Reference in New Issue
Block a user