diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 17:58:11 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 17:58:11 +0200 |
commit | e7b3761c8cd6f0f902dd9927e4fbf2589465ed57 (patch) | |
tree | f735bfeb8e09e114247403742879606ed6594e37 /src/construct/definition.rs | |
parent | 1cf2e1bb97e60baa83de6f3320f2e0ec2e6707b9 (diff) | |
download | markdown-rs-e7b3761c8cd6f0f902dd9927e4fbf2589465ed57.tar.gz markdown-rs-e7b3761c8cd6f0f902dd9927e4fbf2589465ed57.tar.bz2 markdown-rs-e7b3761c8cd6f0f902dd9927e4fbf2589465ed57.zip |
Refactor to not use `pub` when not needed
Diffstat (limited to 'src/construct/definition.rs')
-rw-r--r-- | src/construct/definition.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/definition.rs b/src/construct/definition.rs index 48d1192..92d275c 100644 --- a/src/construct/definition.rs +++ b/src/construct/definition.rs @@ -135,7 +135,7 @@ pub fn start(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { /// ```markdown /// |[a]: b "c" /// ``` -pub fn before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { +fn before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { match code { Code::Char('[') => tokenizer.go( |t, c| { |