Skip to content

Commit

Permalink
doc: use no_run instead ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kilork committed Sep 6, 2024
1 parent f7d3657 commit 3108ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ warp = { version = "0.3", default-features = false }

in src/main.rs:

```rust#ignore
```rust, no_run
use std::{convert::Infallible, env, net::SocketAddr, sync::Arc};
use cookie::time::Duration;
Expand Down
2 changes: 1 addition & 1 deletion templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ in Cargo.toml:

in src/main.rs:

{{ codeblock "rust#ignore" ( http_get (replace "https://raw.githubusercontent.com/kilork/openid-examples/vVERSION/examples/warp.rs" "VERSION" (env_var "OPENID_RUST_MAJOR_VERSION") ) ) }}
{{ codeblock "rust, no_run" ( http_get (replace "https://raw.githubusercontent.com/kilork/openid-examples/vVERSION/examples/warp.rs" "VERSION" (env_var "OPENID_RUST_MAJOR_VERSION") ) ) }}

See full example: [openid-examples: warp](https://github.com/kilork/openid-examples/blob/v{{ env_var "OPENID_RUST_MAJOR_VERSION" }}/examples/warp.rs)

0 comments on commit 3108ee5

Please sign in to comment.