mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
refactor(GFramework.Core): 移除 ResultState 枚举的字节类型声明
- 移除了 ResultState 枚举的 byte 类型声明,改用默认整型 - 简化了枚举类型的定义,提高代码可读性
This commit is contained in:
parent
e96b5f24b4
commit
41592013ec
@ -28,7 +28,7 @@ public readonly struct Result<A> : IEquatable<Result<A>>, IComparable<Result<A>>
|
||||
/// <summary>
|
||||
/// 表示 Result 结构体的内部状态
|
||||
/// </summary>
|
||||
private enum ResultState : byte
|
||||
private enum ResultState
|
||||
{
|
||||
/// <summary>
|
||||
/// 未初始化状态,表示 Result 尚未被赋值
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user