Unnamed repository; edit this file 'description' to name the repository.
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.
bors 2023-11-10
parent 7059ae2 · parent fa7a918 · commit ebb9ed9
-rw-r--r--crates/parser/src/event.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/parser/src/event.rs b/crates/parser/src/event.rs
index 577eb0967b..e38571dd3e 100644
--- a/crates/parser/src/event.rs
+++ b/crates/parser/src/event.rs
@@ -2,11 +2,6 @@
//! It is intended to be completely decoupled from the
//! parser, so as to allow to evolve the tree representation
//! 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 crate::{