about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-09 17:39:58 +0000
committerbors <bors@rust-lang.org>2023-11-09 17:39:58 +0000
commitebb9ed90d12451dd9dc50c2ec2fa10dc82d274cd (patch)
tree2f98d9989cf7b0ccff1134c22dde4ecd1a39bf5f
parent7059ae2fc2d55fa20d7e2671597b516431129445 (diff)
parentfa7a91844aead43eaee397f972faed1ac43591c6 (diff)
downloadrust-ebb9ed90d12451dd9dc50c2ec2fa10dc82d274cd.tar.gz
rust-ebb9ed90d12451dd9dc50c2ec2fa10dc82d274cd.zip
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.
-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 577eb0967b4..e38571dd3ec 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::{