diff --git a/src/protocol/parser/utils.rs b/src/protocol/parser/utils.rs index 8621e7adcc374abaa948e58dd96cc7cc65c1c649..265daac2f257ca0481ff4b47e3bd354d30fb7654 100644 --- a/src/protocol/parser/utils.rs +++ b/src/protocol/parser/utils.rs @@ -16,6 +16,8 @@ pub(crate) enum FindTypeResult<'t, 'i> { } // TODO: @cleanup Find other uses of this pattern +// TODO: Hindsight is 20/20: this belongs in the visitor_linker, not in a +// separate file. impl<'t, 'i> FindTypeResult<'t, 'i> { /// Utility function to transform the `FindTypeResult` into a `Result` where /// `Ok` contains the resolved type, and `Err` contains a `ParseError` which