diff options
| author | mo8it <mo8it@proton.me> | 2024-06-26 15:06:29 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-06-26 15:06:29 +0200 |
| commit | 097f3c74ea16bad95a659fc41a494f24e07656d1 (patch) | |
| tree | 20fe2f1dec05a13aece74333254813f375468fb9 /rustlings-macros/info.toml | |
| parent | 25b5686dd2ab2e3d5a228a71e9631c50ea50fffe (diff) | |
errors1 solution
Diffstat (limited to 'rustlings-macros/info.toml')
| -rw-r--r-- | rustlings-macros/info.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 5a47c85..3d8da58 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -647,8 +647,8 @@ is that `generate_nametag_text` should return a `Result` instead of an `Option`. To make this change, you'll need to: - update the return type in the function signature to be a `Result<String, String>` that could be the variants `Ok(String)` and `Err(String)` - - change the body of the function to return `Ok(stuff)` where it currently - returns `Some(stuff)` + - change the body of the function to return `Ok(…)` where it currently + returns `Some(…)` - change the body of the function to return `Err(error message)` where it currently returns `None`""" |
