Browse Source

docs(dress_code): correct function signature

pull/1930/head
eslopfer 2 years ago
parent
commit
e598e9bd95
  1. 2
      subjects/dress_code/README.md

2
subjects/dress_code/README.md

@ -35,7 +35,7 @@ Remember that all the `enum` and `struct` used must be `pub`.
### Expected functions
```rust
pub fn choose_outfit(formality_level: Option<u32>, invitation_message: Result<&str>) -> Outfit {}
pub fn choose_outfit(formality_level: Option<u32>, invitation_message: Result<&str, &str>) -> Outfit {}
```
### Usage

Loading…
Cancel
Save