mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-29 06:46:33 +11:00
56ebcaf50d
There are a number of places where usernames are passed around. Using this type ensures that the contained string is actually a valid username and not some other kind of string. For instance you can use it as a function argument to indicate that only valid usernames are accepted, or return it from a function to indicate that only valid usernames are produced. This is analogous to the existing `Ident<S>` type. |
||
---|---|---|
.. | ||
login.rs |