Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ashsajal1/rust-practice

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-modules

This is a learning project to learn about modules in Rust.

The project consists of ten modules, each covering a different topic related to modules in Rust. The modules are numbered from 1 to 10 and each module has exercises to be completed.

The project is organized in a Rust project using Cargo. The modules are organized in separate files in the src directory.

Each module has a description of the concepts covered and exercises to complete. The project also includes additional resources to help with learning Rust and modules.

The project includes a sample implementation of a calculator module. The calculator module has methods to add, subtract, multiply, and divide numbers. The module follows the module pattern for encapsulation and uses traits for polymorphism.

The project includes a main.rs file that demonstrates how to use the calculator module.

To run the project, navigate to the project directory and run cargo run.

License

This project is licensed under the MIT License.

About

A repo to practice & learn rust.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.