diff --git a/README.md b/README.md index aa2b943..88e30f7 100644 --- a/README.md +++ b/README.md @@ -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; diff --git a/templates/README.md b/templates/README.md index 96e3f98..9bfa023 100644 --- a/templates/README.md +++ b/templates/README.md @@ -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)