GithubHelp home page GithubHelp logo

exercises's Introduction

Learn Rust Together ๐Ÿฆ€ ๐Ÿฆ‘ ๐Ÿฆ ๐Ÿค

Build Status

The project helps to share your Rust code for review via pull requests. Complete exercises and get feedback from the community.

Background Requirements

Exercises List

Exercises have three difficulty levels:

Easy Medium Hard
๐Ÿฆ ๐Ÿฆ‘ ๐Ÿฆ€

Available:

Getting Started

Fork a Repo

Fork Tutorial

Clone a Repo

$ git clone https://github.com/learnrusttogether/exercises.git

Go to Repo

$ cd exercises

Unlock Necessary Tests

Open the tests source file which is located in the ./exercises/tests directory and remove the #[ignore] flag from the necessary tests and get the tests to pass.

use hello_world::*;

#[test]
#[ignore] // <- remove
fn test_hello_world() {
    assert_eq!("Hello, World!", hello());
}

Complete the Exercise

pub fn hello() -> &'static str {
    "Goodbye, World!"
}

->

pub fn hello() -> &'static str {
    "Hello, World!"
}

Run Tests from Repo Root

Your current path: ~/exersices/

$ make test

Push Changes

$ git add .

$ git commit -m "hello-world"

$ git push

Create New Pull Request

Pull Request Tutorial

Getting Updates

$ make update

If you have an alert Please enter a commit message to explain why this merge is necessary, especially if it merges an updated upstream into a topic branch. read this tutorial.

Contributing a New Exercise

[Soon...]

Community

You can ask a question in our Telegram chat or the issues section.

exercises's People

Contributors

ilyakmet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

exercises's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.