Prefer explicit type syntax over @as

This commit is contained in:
Gregory Anders
2023-11-11 17:26:59 -05:00
parent 06cdbc1a96
commit e7bc9958da

View File

@ -507,7 +507,7 @@ pub const Surface = struct {
) void { ) void {
const alloc = self.app.core_app.alloc; const alloc = self.app.core_app.alloc;
const request_type = @as(apprt.ClipboardRequestType, state.*); const request_type: apprt.ClipboardRequestType = state.*;
// Attempt to complete the request, but we may request // Attempt to complete the request, but we may request
// confirmation. // confirmation.