Skip to content

Commit

Permalink
Do NOT run tests on some example codes
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Jan 6, 2024
1 parent e71d5df commit 1f7bf40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Use this crate with [metrics-exporter-prometheus] as an exporter like:

[metrics-exporter-prometheus]: https://crates.io/crates/metrics-exporter-prometheus

```rust
```rust,no_run
use std::thread;
use std::time::{Duration, Instant};
Expand Down Expand Up @@ -85,7 +85,7 @@ whenever the `/metrics` endpoint is invoked like:

[axum]: https://crates.io/crates/axum

```rust
```rust,no_run
use axum::{routing::get, Router};
use metrics_exporter_prometheus::PrometheusBuilder;
use metrics_process::Collector;
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Collector {
///
/// # Example
///
/// ```
/// ```no_run
/// # use metrics_exporter_prometheus::PrometheusBuilder;
/// # use metrics_process::Collector;
/// # #[tokio::main]
Expand Down Expand Up @@ -155,7 +155,7 @@ impl Collector {
///
/// # Example
///
/// ```
/// ```no_run
/// # use metrics_exporter_prometheus::PrometheusBuilder;
/// # use metrics_process::Collector;
/// # #[tokio::main]
Expand Down

0 comments on commit 1f7bf40

Please sign in to comment.