File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ impl SyncScannerBuilder {
3232 ///
3333 /// ```no_run
3434 /// # use alloy::network::Ethereum;
35- /// # use event_scanner::{EventFilter, EventScanner, EventScannerMessage };
35+ /// # use event_scanner::{EventFilter, EventScanner, Message };
3636 /// # use tokio_stream::StreamExt;
3737 /// #
3838 /// # async fn example() -> Result<(), Box<dyn std::error::Error>> {
@@ -51,14 +51,14 @@ impl SyncScannerBuilder {
5151 ///
5252 /// while let Some(msg) = stream.next().await {
5353 /// match msg {
54- /// EventScannerMessage ::Data(logs) => {
54+ /// Message ::Data(logs) => {
5555 /// println!("Received {} events", logs.len());
5656 /// }
57- /// EventScannerMessage ::Status(status) => {
57+ /// Message ::Status(status) => {
5858 /// println!("Status update: {:?}", status);
5959 /// // You'll see ScannerStatus::SwitchingToLive when transitioning
6060 /// }
61- /// EventScannerMessage ::Error(e) => {
61+ /// Message ::Error(e) => {
6262 /// eprintln!("Error: {}", e);
6363 /// }
6464 /// }
You can’t perform that action at this time.
0 commit comments