Skip to content

Add stubs to some exercises #339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions exercises/beer-song/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pub fn verse(n: i32) -> String {

}

pub fn sing(start: i32, end: i32) -> String {

}
3 changes: 3 additions & 0 deletions exercises/bob/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn reply(message: &str) -> &str {

}
11 changes: 11 additions & 0 deletions exercises/difference-of-squares/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pub fn square_of_sum(n: usize) -> usize {

}

pub fn sum_of_squares(n: usize) -> usize {

}

pub fn difference(n: usize) -> usize {

}
3 changes: 3 additions & 0 deletions exercises/leap/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn is_leap_year(year: i32) -> bool {

}
3 changes: 3 additions & 0 deletions exercises/proverb/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn build_proverb(list: Vec<&str>) -> String {

}
3 changes: 3 additions & 0 deletions exercises/raindrops/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn raindrops(n: usize) -> String {

}
3 changes: 3 additions & 0 deletions exercises/sum-of-multiples/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn sum_of_multiples(limit: u32, factors: &[u32]) -> u32 {

}