diff --git a/src/parser/instruction/encoding.rs b/src/parser/instruction/encoding.rs index b1bef8f..c3683c3 100644 --- a/src/parser/instruction/encoding.rs +++ b/src/parser/instruction/encoding.rs @@ -20,14 +20,14 @@ use encoding_parser::EncodingParser; /// /// # Examples /// ```rust -/// use msp430_asm::{*, parser::{Encoding, EncodingParser}}; +/// use msp430_asm::{preamble::*, parser::preamble::*}; /// // Create a token sequence /// let asm_file = r".b 8000(r15)"; /// // Create a single-operand encoding parser /// let single: EncodingParser = Encoding::single().end(); /// // Parse an Encoding from it /// let encoding: Encoding = single -/// .parse(&Parser::default(), &mut Tokenizer::new(asm_file).ignore_spaces()) +/// .parse(&Default::default(), &mut Tokenizer::new(asm_file).ignore_spaces()) /// .unwrap(); /// // Print the Encoding /// println!("{encoding}");