Skip to content

Commit 9c3ad07

Browse files
Added Repository Structure
1 parent 6c8dd03 commit 9c3ad07

5 files changed

Lines changed: 0 additions & 5 deletions

File tree

File renamed without changes.

examples/rust-fundamentals/02_functions.rs renamed to examples/rust-fundamentals/functions/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// TO RUN THE FILE : cargo run --example 02_functions
21
// use std::io;
32
use std::io::{self, Write};
43

examples/rust-fundamentals/03_ownership_and_borrowing.rs renamed to examples/rust-fundamentals/ownership_and_borrowing/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// RUN THE CODE - cargo run --example 03_ownership_and_borrowing
2-
31
use std::io;
42

53
fn get_length(s: &String) -> usize {
File renamed without changes.

examples/rust-fundamentals/01_variables.rs renamed to examples/rust-fundamentals/variables/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// TO RUN THE EXAMPLE : cargo run --example 01_variables
2-
31
fn main() {
42

53
// PART 1 : Immutable vs Mutable Variables

0 commit comments

Comments
 (0)