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 aa5713e commit da4dad2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Add dependency to Cargo.toml:
keycloak = "25.0"
```
```rust#ignore
```rust, no_run
use keycloak::{
types::*,
{KeycloakAdmin, KeycloakAdminToken},
Expand Down Expand Up @@ -118,4 +118,4 @@ pub use error::KeycloakError;
pub use rest::{
KeycloakAdmin, KeycloakAdminToken, KeycloakServiceAccountAdminTokenRetriever,
KeycloakTokenSupplier,
};
};
2 changes: 1 addition & 1 deletion templates/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
{{ replace ( render ( read_to_str "templates/README.md" ) ) "```rust" "```rust#ignore" }}
{{ replace ( render ( read_to_str "templates/README.md" ) ) "```rust" "```rust, no_run" }}
*/

pub mod types;
Expand Down

0 comments on commit da4dad2

Please sign in to comment.