Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/tamer
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2022-03-17 16:30:35 -0400
committerMike Gerwitz <mike.gerwitz@ryansg.com>2022-03-17 16:30:35 -0400
commite18eb2a4ac97b43bb7c2d264527b8ef585a0e820 (patch)
tree0254305dd7559aa5920b19d50dd0d9f92b9c0ca5 /tamer
parent6b8f0663ea5a443236b5c7fd9729bfa89f70d168 (diff)
downloadtame-e18eb2a4ac97b43bb7c2d264527b8ef585a0e820.tar.gz
tame-e18eb2a4ac97b43bb7c2d264527b8ef585a0e820.tar.bz2
tame-e18eb2a4ac97b43bb7c2d264527b8ef585a0e820.zip
tamer: xir::flat::State::parse_node: Use TransitionResult
This was simply missed in a previous commit. DEV-10863
Diffstat (limited to 'tamer')
-rw-r--r--tamer/src/xir/flat.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/tamer/src/xir/flat.rs b/tamer/src/xir/flat.rs
index 2c4ce1d..02ffe8d 100644
--- a/tamer/src/xir/flat.rs
+++ b/tamer/src/xir/flat.rs
@@ -38,10 +38,7 @@
use super::{
attr::{Attr, AttrParseError, AttrParseState},
- parse::{
- ParseState, ParseStateResult, ParseStatus, ParsedResult,
- TransitionResult,
- },
+ parse::{ParseState, ParseStatus, ParsedResult, TransitionResult},
QName, Token, TokenStream, Whitespace,
};
use crate::{span::Span, sym::SymbolId, xir::parse::Transition};
@@ -202,7 +199,7 @@ where
fn parse_node(
mut stack: ElementStack<MAX_DEPTH>,
tok: Token,
- ) -> (Transition<Self>, ParseStateResult<Self>) {
+ ) -> TransitionResult<Self> {
use Object::*;
use State::{AttrExpected, NodeExpected};