mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 19:34:16 +00:00
simplify
This commit is contained in:
parent
fd109fb587
commit
bf26e13cd2
2 changed files with 13 additions and 13 deletions
|
@ -31,6 +31,9 @@ pub mod ext {
|
|||
pub fn expr_todo() -> ast::Expr {
|
||||
expr_from_text("todo!()")
|
||||
}
|
||||
pub fn empty_block_expr() -> ast::BlockExpr {
|
||||
block_expr(None, None)
|
||||
}
|
||||
|
||||
pub fn ty_bool() -> ast::Type {
|
||||
ty_path(ident_path("bool"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue