Cleaning up compiler warnings.

This commit is contained in:
Tom Alexander
2023-04-21 18:22:17 -04:00
parent f4aaa43497
commit 04dfffc000
7 changed files with 11 additions and 31 deletions

View File

@@ -22,6 +22,7 @@ pub const WORD_CONSTITUENT_CHARACTERS: &str =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
/// Check if we are below a section of the given section type regardless of depth
#[allow(dead_code)]
pub fn in_section<'r, 's, 'x>(context: Context<'r, 's>, section_name: &'x str) -> bool {
for thing in context.iter() {
match thing.get_data() {