Skip to content

Commit

Permalink
ignore code in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Thea Rossman authored and thearossman committed Oct 18, 2024
1 parent 373bd5d commit caba7a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//! The following example shows a simple Retina application with two subscriptions, which print
//! (1) parsed TLS handshakes and (2) parsed DNS transactions to stdout:
//!
//! ```rust
//! ```rust,ignore
//! use retina_core::config::default_config;
//! use retina_core::Runtime;
//! use retina_filtergen::{retina_main, filter};
Expand Down
4 changes: 2 additions & 2 deletions filtergen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//! [`filter`](macro@self::filter). It indicates to the framework how many subscriptions to expect.
//!
//! ## Usage
//! ```rust
//! ```rust,no_run
//! use retina_core::config::default_config;
//! use retina_core::Runtime;
//! use retina_filtergen::{filter, retina_main};
Expand Down Expand Up @@ -67,7 +67,7 @@
//! callback = "http_cb"
//! ```
//!
//! ```rust
//! ```rust,ignore
//! use retina_core::config::default_config;
//! use retina_core::Runtime;
//! use retina_filtergen::subscription;
Expand Down

0 comments on commit caba7a1

Please sign in to comment.