mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
added inline hint
This commit is contained in:
parent
2c6dcb82ef
commit
9b6167aad8
1 changed files with 1 additions and 0 deletions
|
@ -651,6 +651,7 @@ impl<'a> PaintContext<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn paint_layer<F>(&mut self, clip_bounds: Option<RectF>, f: F)
|
||||
where
|
||||
F: FnOnce(&mut Self) -> (),
|
||||
|
|
Loading…
Reference in a new issue