mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
remove Cancelable from funciton body
This commit is contained in:
parent
7c977a7dcd
commit
040a622c52
9 changed files with 16 additions and 21 deletions
|
@ -20,7 +20,7 @@ impl Function {
|
|||
Function { def_id }
|
||||
}
|
||||
|
||||
pub(crate) fn body(&self, db: &impl HirDatabase) -> Cancelable<Arc<Body>> {
|
||||
pub(crate) fn body(&self, db: &impl HirDatabase) -> Arc<Body> {
|
||||
db.body_hir(self.def_id)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue