diff options
author | Aleksey Kladov <[email protected]> | 2020-05-20 00:53:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-05-20 00:53:21 +0100 |
commit | a04cababaa144d7a6db7b1dd114494b33d281ab9 (patch) | |
tree | 70184acba3f9560bf9a6ed0eae889b9e53a85b6c /docs/user | |
parent | e6fc0bdffb213f6e94c5bb4081e6d175ccbd518f (diff) |
Use snippets in add_missing_members
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/assists.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user/assists.md b/docs/user/assists.md index 10ab67b2e..b687330f3 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md | |||
@@ -146,7 +146,7 @@ trait Trait { | |||
146 | impl Trait for () { | 146 | impl Trait for () { |
147 | Type X = (); | 147 | Type X = (); |
148 | fn foo(&self) {} | 148 | fn foo(&self) {} |
149 | fn bar(&self) {} | 149 | $0fn bar(&self) {} |
150 | 150 | ||
151 | } | 151 | } |
152 | ``` | 152 | ``` |
@@ -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 { | 178 | $0fn foo(&self) -> u32 { |
179 | todo!() | 179 | todo!() |
180 | } | 180 | } |
181 | 181 | ||