mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
Prefer explicit type syntax over @as
This commit is contained in:
@ -507,7 +507,7 @@ pub const Surface = struct {
|
||||
) void {
|
||||
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
|
||||
// confirmation.
|
||||
|
Reference in New Issue
Block a user