Skip to content

Commit

Permalink
ignore doc test, but syntax highlight should work
Browse files Browse the repository at this point in the history
  • Loading branch information
kilork committed Sep 6, 2024
1 parent 617debc commit aa99d4e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,3 @@ features = ["derive"]
version = "0.12"
default-features = false
features = ["json"]

[dev-dependencies]
warp = "0.3"
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, no_run
```rust, ignore
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, no_run" ( http_get (replace "https://raw.githubusercontent.com/kilork/openid-examples/vVERSION/examples/warp.rs" "VERSION" (env_var "OPENID_RUST_MAJOR_VERSION") ) ) }}
{{ codeblock "rust, ignore" ( 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 aa99d4e

Please sign in to comment.