style(renderer): explicit result type
In case of future breaking changes to `options`pull/7620/head
parent
3e7d64b5ce
commit
8b9e6641f2
|
|
@ -633,7 +633,7 @@ pub fn Renderer(comptime GraphicsAPI: type) type {
|
|||
const font_critical: struct {
|
||||
metrics: font.Metrics,
|
||||
} = font_critical: {
|
||||
const grid = options.font_grid;
|
||||
const grid: *font.SharedGrid = options.font_grid;
|
||||
grid.lock.lockShared();
|
||||
defer grid.lock.unlockShared();
|
||||
break :font_critical .{
|
||||
|
|
|
|||
Loading…
Reference in New Issue