mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Remove useless reference in Deck::encode_code
This commit is contained in:
parent
639d84da03
commit
d44391b264
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ impl Deck {
|
||||||
/// Encode a slice of [bytes](u8) into a deck code.
|
/// Encode a slice of [bytes](u8) into a deck code.
|
||||||
fn encode_code(bytes: &[u8]) -> String {
|
fn encode_code(bytes: &[u8]) -> String {
|
||||||
data_encoding::BASE32_NOPAD
|
data_encoding::BASE32_NOPAD
|
||||||
.encode(&bytes)
|
.encode(bytes)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// [Read] the header byte into a [format](DeckCodeFormat) and [version](DeckCodeVersion) tuple.
|
/// [Read] the header byte into a [format](DeckCodeFormat) and [version](DeckCodeVersion) tuple.
|
||||||
|
|
Loading…
Reference in a new issue