Skip to content

Commit

Permalink
warning
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk committed Oct 28, 2024
1 parent 7a87903 commit dcad1e1
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions rwf/src/view/template/language/statement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ use super::{
super::{Context, Error, Token, TokenWithContext, Tokenize, Value},
Expression, Term,
};
use std::{
iter::{Iterator, Peekable},
ops::Deref,
};
use std::iter::{Iterator, Peekable};

use std::path::PathBuf;

Expand All @@ -28,21 +25,6 @@ macro_rules! block_end {
};
}

#[derive(Debug, Clone)]
pub struct StatementWithContext {
line: usize,
column: usize,
statement: Statement,
}

impl Deref for StatementWithContext {
type Target = Statement;

fn deref(&self) -> &Self::Target {
&self.statement
}
}

#[derive(Debug, Clone)]
pub enum Statement {
// e.g. `<%= variable %>`
Expand Down

0 comments on commit dcad1e1

Please sign in to comment.