Use `record` `struct`

See
https://www.jetbrains.com/help/rider/UsageOfDefaultStructEquality.html.
This commit is contained in:
Dean Herbert 2024-10-01 18:48:09 +09:00
parent 24d534929d
commit 162558e0b8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
namespace osu.Game.Graphics.UserInterface
{
public readonly struct Hotkey
public readonly record struct Hotkey
{
public KeyCombination[]? KeyCombinations { get; init; }
public GlobalAction? GlobalAction { get; init; }