all: use trait upcasting
This commit is contained in:
parent
f0caafc862
commit
09e5f89174
44 changed files with 90 additions and 269 deletions
|
|
@ -98,5 +98,5 @@ pub fn render(
|
|||
None,
|
||||
)
|
||||
.ok()
|
||||
.map(|t| (t.into_texture(), measurement))
|
||||
.map(|t| (t as _, measurement))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue