Skip to content
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
2 changes: 1 addition & 1 deletion subjects/inv_pyramid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ i = 5
### Expected Functions

```rust
fn inv_pyramid(v: String, i: u32) -> Vec<String> {}
pub fn inv_pyramid(v: String, i: u32) -> Vec<String> {}
```

### Usage
Expand Down
6 changes: 1 addition & 5 deletions subjects/own_and_return/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ Here is a possible program to test your function:
```rust
use own_and_return::*;

pub struct Film {
pub name: String,
}

fn main() {
let my_film = Film { name: "Terminator".toString() };
let my_film = Film { name: "Terminator".to_string() };
println!("{}", take_film_name(/* to be implemented */));
// the order of the print statements is intentional, if your implementation is correct,
// you should have a compile error because my_film was consumed
Expand Down
6 changes: 1 addition & 5 deletions subjects/own_and_return/main.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
use own_and_return::*;

pub struct Film {
pub name: String,
}

fn main() {
let my_film = Film {
name: "Terminator".toString(),
name: "Terminator".to_string(),
};
println!("{}", take_film_name(/* to be implemented */));
// the order of the print statements is intentional, if your implementation is correct,
Expand Down
Loading