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