mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-04 01:11:55 +03:00
Minor formatting issues
This commit is contained in:
@@ -31,7 +31,6 @@ func (s Secret) MarshalText() ([]byte, error) {
|
||||
|
||||
func (s *Secret) UnmarshalText(data []byte) error {
|
||||
text := string(data)
|
||||
|
||||
if text == "" {
|
||||
return ErrSecretEmpty
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user