Skip to content

Commit 1ad3462

Browse files
josecelanoda2ce7
authored andcommitted
feat!: stack does not need to be pubic
1 parent 74ec16e commit 1ad3462

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/parsers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Parsers, including the main parser and the parsers for the basic types
22
//! (integer and string).
3-
//!
3+
//!
44
//! ``BencodeParser`` is the main parser. It is generic over the type of the
55
//! input buffer.
66
pub mod error;

src/parsers/stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::fmt::Display;
88
///
99
/// > NOTICE!: It's not allowed to pop or change the initial state.
1010
#[derive(Debug)]
11-
pub struct Stack {
11+
pub(crate) struct Stack {
1212
/// The stack of states.
1313
states: Vec<State>,
1414
}

0 commit comments

Comments
 (0)