Auto merge of #15853 - Kangaxx-0:gaxx/update-parser-event-comment, r=lnicola

Try to update parser/event doc

`TokenSource` and `TreeSink` has been refactored as part of #10765, they no longer exist in code repo. This pr tries to remove them from event module level comment to prevent confusion.
This commit is contained in:
bors 2023-11-09 17:39:58 +00:00
commit ebb9ed90d1

View File

@ -2,11 +2,6 @@
//! It is intended to be completely decoupled from the //! It is intended to be completely decoupled from the
//! parser, so as to allow to evolve the tree representation //! parser, so as to allow to evolve the tree representation
//! and the parser algorithm independently. //! and the parser algorithm independently.
//!
//! The `TreeSink` trait is the bridge between the parser and the
//! tree builder: the parser produces a stream of events like
//! `start node`, `finish node`, and `FileBuilder` converts
//! this stream to a real tree.
use std::mem; use std::mem;
use crate::{ use crate::{