Could somebody explain to me where I need to include the lifetime parameters here. Thanks.
pub struct Token<'a> {
typ: TokenType,
val: &'a str
}
impl Iterator for Lexer {
type Item = Token;
fn next(&mut self) -> Option<Token> {
// lala