Initialize Rust and VS Code.
This commit is contained in:
8
src/main.rs
Normal file
8
src/main.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
mod set1;
|
||||
|
||||
use crate::set1::convert_hex_to_base64;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world! Does it work?");
|
||||
convert_hex_to_base64();
|
||||
}
|
||||
3
src/set1.rs
Normal file
3
src/set1.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub fn convert_hex_to_base64() {
|
||||
println!("We are here too.");
|
||||
}
|
||||
Reference in New Issue
Block a user