Skip to content

Commit

Permalink
Fix build warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertCreativityHere committed Sep 10, 2024
1 parent f57a8b1 commit 2c038aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parsers/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::slice_file::Location;

/// Stores a reference to a block of source code in a Slice file.
#[derive(Clone, Copy, Debug)]
#[allow(dead_code)] // The `end` field isn't used, but is very useful for debugging, so we keep it.
pub struct SourceBlock<'input> {
/// The raw text contained in the block, taken directly from the input.
pub content: &'input str,
Expand Down

0 comments on commit 2c038aa

Please sign in to comment.