diff options
author | Aleksey Kladov <[email protected]> | 2020-04-11 15:05:23 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-11 15:05:23 +0100 |
commit | 997c959d4f373df0cbba09609c5e4d8215d3d0c7 (patch) | |
tree | ddfeeaa144fe1621fc205dce5a9d18e2cd6f6455 /docs | |
parent | 372414d27b41f60142f6c01fd48746a36e71f392 (diff) | |
parent | af04d45d32b5d9bdf949beb17152ef78dd4a0523 (diff) |
Merge pull request #3935 from cjhopman/todo
Change missing impl assist to use todo!() instead of unimplemented()
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/assists.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md index 754131f6f..cc42169d8 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md | |||
@@ -175,7 +175,7 @@ trait Trait<T> { | |||
175 | } | 175 | } |
176 | 176 | ||
177 | impl Trait<u32> for () { | 177 | impl Trait<u32> for () { |
178 | fn foo(&self) -> u32 { unimplemented!() } | 178 | fn foo(&self) -> u32 { todo!() } |
179 | 179 | ||
180 | } | 180 | } |
181 | ``` | 181 | ``` |