Skip to content

Commit 3faf90c

Browse files
Update Safe.cs
1 parent e734d4d commit 3faf90c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Code/Helpers/Safe.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ private init
2121

2222
public static implicit operator T(Safe<T> wrapper) => wrapper.Value;
2323
public static implicit operator Safe<T>(T value) => new() { Value = value };
24+
25+
public override string ToString() => Value?.ToString() ?? "null";
2426
}

0 commit comments

Comments
 (0)