Skip to content

Commit 6594235

Browse files
committed
Remove doc using cargo xtask codegen.
1 parent 1fae96a commit 6594235

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

docs/user/assists.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -259,30 +259,6 @@ fn main() {
259259
}
260260
```
261261

262-
## `change_lifetime_anon_to_named`
263-
264-
Change an anonymous lifetime to a named lifetime.
265-
266-
```rust
267-
// BEFORE
268-
impl Cursor<'_<|>> {
269-
fn node(self) -> &SyntaxNode {
270-
match self {
271-
Cursor::Replace(node) | Cursor::Before(node) => node,
272-
}
273-
}
274-
}
275-
276-
// AFTER
277-
impl<'a> Cursor<'a> {
278-
fn node(self) -> &SyntaxNode {
279-
match self {
280-
Cursor::Replace(node) | Cursor::Before(node) => node,
281-
}
282-
}
283-
}
284-
```
285-
286262
## `change_return_type_to_result`
287263

288264
Change the function's return type to Result.

0 commit comments

Comments
 (0)