mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Remove useless reference in Deck::from_code
This commit is contained in:
parent
139de76961
commit
60060b9a31
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ impl Deck {
|
||||||
/// .expect("deck to be deserialized successfully");
|
/// .expect("deck to be deserialized successfully");
|
||||||
/// ```
|
/// ```
|
||||||
pub fn from_code(code: &str) -> DeckDecodingResult<Deck> {
|
pub fn from_code(code: &str) -> DeckDecodingResult<Deck> {
|
||||||
let mut cursor = Cursor::new(Self::decode_code(&code)?);
|
let mut cursor = Cursor::new(Self::decode_code(code)?);
|
||||||
|
|
||||||
let (format, _version) = Self::read_header(&mut cursor)?;
|
let (format, _version) = Self::read_header(&mut cursor)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue