Make BorrowedWithFontSystem borrow FontSystem mutably
This commit is contained in:
parent
057b5b6fa9
commit
46e9ef0246
11 changed files with 37 additions and 31 deletions
|
|
@ -335,7 +335,7 @@ impl Buffer {
|
|||
|
||||
pub fn borrow_with<'a>(
|
||||
&'a mut self,
|
||||
font_system: &'a FontSystem,
|
||||
font_system: &'a mut FontSystem,
|
||||
) -> BorrowedWithFontSystem<'a, Buffer> {
|
||||
BorrowedWithFontSystem {
|
||||
inner: self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue