Skip to content

Commit

Permalink
Added the Book structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-saad-la committed Jun 10, 2024
1 parent 80e1421 commit dc52642
Show file tree
Hide file tree
Showing 48 changed files with 113 additions and 4 deletions.
55 changes: 52 additions & 3 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Rust Environment Setup

- [Chapter_01](chapter_01/introduction.md)
- [Environment Setup](chapter_01/introduction.md)
- [Rust Environment Setup](chapter_01/install_rust.md)
- [Setup Rust Kernel](chapter_01/setup_jupyterlab.md)
- [Update Rust](chapter_01/update_rust.md)
Expand All @@ -20,14 +20,63 @@
- [check](chapter_02/check.md)
- [build](chapter_02/build.md)
- [clean](chapter_02/clean.md)
- [Structuring Rust Applications](chapter_02/rust_apps.md)

# Rust Essentials

- [Chapter_03](chapter_03/introduction.md)
- [Primitive Data Types](chapter_03/introduction.md)
- [integer_dtypes](chapter_03/integer_dtypes.md)
- [Floats](chapter_03/float_dtypes.md)
- [Booleans](chapter_03/booleans.md)
- [Characters](chapter_03/characters_dtypes.md)
- [Constants](chapter_03/constants.md)
- [Type conversion](chapter_03/type_conversion.md)
- [numeric operations](chapter_03/num_ops.md)
- [character operations](chapter_03/char_ops.md)
- [Creating Ranges](chapter_03/range.md)

# Control Flow

- [Flow Control](chapter_04/intro.md)
- [Conditionals](chapter_04/conditionals.md)
- [If statement](chapter_04/if_statement.md)
- [If else](chapter_04/if_else.md)
- [If else expression](chapter_04/if_else_expression.md)
- [Loops](chapter_04/loops.md)
- [loop](chapter_04/loop.md)
- [for loop](chapter_04/for_loop.md)
- [while loop](chapter_04/while_loop.md)
- [Exit loops](chapter_04/exit_loop.md)
- [break](chapter_04/break.md)
- [continue](chapter_04/continue.md)
- [Match statement](chapter_04/match.md)

# Rust Compound Data Types

- [Chapter_04](chapter_04/introduction.md)
- [Data Structures](chapter_05/introduction.md)
- [Arrays](chapter_05/arrays.md)
- [Vectors](chapter_05/vectors.md)
- [Tuples](chapter_05/tuples.md)
- [HashMaps](chapter_05/hashmaps.md)
- [HashSets](chapter_05/hashsets.md)
- [Data Structure Operations](chapter_05/data_structure_ops.md)
- [Iterations](chapter_05/iterating.md)

# Enumerations in Rust

- [Enum Data Type](chap_06/intro.md)
- [Creating Enums](chap_06/creating_enums.md)
- [Using Enums](chap_06/using_enums.md)
- [Option Enum](chap_06/option.md)
- [Result Enum](chap_06/result_enum.md)
- [Enum in Practice](chap_06/enum_project.md)

# Ownership and Borrowing

- [Variables Scope](chap_07/intro.md)
- [Local Scope](chap_07/local_scope.md)
- [Static local Scope](chap_07/static_local.md)
- [Global Scope](chap_07/global_scope.md)
- [Static Global Scope](chap_07/static_global.md)
- [Static Mutables](chap_07/static_mutables.md)

1 change: 1 addition & 0 deletions src/chap_06/creating_enums.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Creating Enums
1 change: 1 addition & 0 deletions src/chap_06/enum_project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Enum in Practice
1 change: 1 addition & 0 deletions src/chap_06/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Enum Data Type
1 change: 1 addition & 0 deletions src/chap_06/option.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Option Enum
1 change: 1 addition & 0 deletions src/chap_06/result_enum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Result Enum
1 change: 1 addition & 0 deletions src/chap_06/using_enums.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Using Enums
1 change: 1 addition & 0 deletions src/chap_07/global_scope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Global Scope
1 change: 1 addition & 0 deletions src/chap_07/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Variables Scope
1 change: 1 addition & 0 deletions src/chap_07/local_scope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Local Scope
1 change: 1 addition & 0 deletions src/chap_07/static_global.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Static Global Scope
1 change: 1 addition & 0 deletions src/chap_07/static_local.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Static local Scope
1 change: 1 addition & 0 deletions src/chap_07/static_mutables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Static Mutables
22 changes: 21 additions & 1 deletion src/chapter_01/update_rust.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
# Update Rust
# Updating Rust

Updating Rust on different platforms is streamlined by the use of `rustup` command, the `Rust’s` official toolchain installer and manager.

The **Rustup** provides a uniform way to manage Rust versions across various environments. To update Rust using Rustup, open your terminal or command prompt and run:

```
rustup update
```

This command checks for the latest stable version of Rust, downloads it, and updates your system to use it. It's applicable to Windows, Linux, and macOS.

## After Updating

After updating, you can verify the installation and check the current version by running:

```
rustc --version
```

This command will display the version of Rust currently installed, ensuring that your update was successful.
1 change: 1 addition & 0 deletions src/chapter_02/rust_apps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Structuring Rust Applications
1 change: 1 addition & 0 deletions src/chapter_03/booleans.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Booleans
1 change: 1 addition & 0 deletions src/chapter_03/char_ops.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# character operations
1 change: 1 addition & 0 deletions src/chapter_03/constants.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Constants
1 change: 1 addition & 0 deletions src/chapter_03/num_ops.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# numeric operations
1 change: 1 addition & 0 deletions src/chapter_03/range.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Creating Ranges
1 change: 1 addition & 0 deletions src/chapter_03/type_conversion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Type conversion
Empty file removed src/chapter_04/arrays.md
Empty file.
1 change: 1 addition & 0 deletions src/chapter_04/break.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# break
1 change: 1 addition & 0 deletions src/chapter_04/conditionals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Conditionals
1 change: 1 addition & 0 deletions src/chapter_04/continue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# continue
1 change: 1 addition & 0 deletions src/chapter_04/exit_loop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Exit loops
1 change: 1 addition & 0 deletions src/chapter_04/for_loop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# for loop
Empty file removed src/chapter_04/hashmaps.md
Empty file.
Empty file removed src/chapter_04/hashsets.md
Empty file.
1 change: 1 addition & 0 deletions src/chapter_04/if_else.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# If else
1 change: 1 addition & 0 deletions src/chapter_04/if_else_expression.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# If else expression
1 change: 1 addition & 0 deletions src/chapter_04/if_statement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# If statement
1 change: 1 addition & 0 deletions src/chapter_04/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Flow Control
Empty file removed src/chapter_04/introduction.md
Empty file.
1 change: 1 addition & 0 deletions src/chapter_04/loop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# loop
1 change: 1 addition & 0 deletions src/chapter_04/loops.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Loops
1 change: 1 addition & 0 deletions src/chapter_04/match.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Match statement
Empty file removed src/chapter_04/tuples.md
Empty file.
Empty file removed src/chapter_04/vectors.md
Empty file.
1 change: 1 addition & 0 deletions src/chapter_04/while_loop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# while loop
1 change: 1 addition & 0 deletions src/chapter_05/arrays.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Arrays
1 change: 1 addition & 0 deletions src/chapter_05/data_structure_ops.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Data Structure Operations
1 change: 1 addition & 0 deletions src/chapter_05/hashmaps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# HashMaps
1 change: 1 addition & 0 deletions src/chapter_05/hashsets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# HashSets
1 change: 1 addition & 0 deletions src/chapter_05/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Data Structures
1 change: 1 addition & 0 deletions src/chapter_05/iterating.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Iterations
1 change: 1 addition & 0 deletions src/chapter_05/tuples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Tuples
1 change: 1 addition & 0 deletions src/chapter_05/vectors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Vectors

0 comments on commit dc52642

Please sign in to comment.