switch from rs
to rust
to work properly with cargo doc
This commit is contained in:
parent
cf7a3b7d53
commit
162f03fced
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
example usage:
|
example usage:
|
||||||
|
|
||||||
```rs
|
```rust
|
||||||
let config = /* config goes here */
|
let config = /* config goes here */
|
||||||
|
|
||||||
fn main() -> Result {
|
fn main() -> Result {
|
||||||
|
@ -25,7 +25,7 @@ fn main() -> Result {
|
||||||
|
|
||||||
Queries are returned as an RSS feed something like this:
|
Queries are returned as an RSS feed something like this:
|
||||||
|
|
||||||
```rss
|
```rusts
|
||||||
<rss version="1.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:torznab="http://torznab.com/schemas/2015/feed">
|
<rss version="1.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:torznab="http://torznab.com/schemas/2015/feed">
|
||||||
<channel>
|
<channel>
|
||||||
<atom:link rel="self" type="application/rss+xml" />
|
<atom:link rel="self" type="application/rss+xml" />
|
||||||
|
|
|
@ -6,7 +6,7 @@ use std::collections::HashMap;
|
||||||
/// HashMap equivalent of vec![]
|
/// HashMap equivalent of vec![]
|
||||||
///
|
///
|
||||||
/// Example:
|
/// Example:
|
||||||
/// ```rs
|
/// ```rust
|
||||||
/// hashmap!(("key", "value"))
|
/// hashmap!(("key", "value"))
|
||||||
/// ```
|
/// ```
|
||||||
macro_rules! hashmap {
|
macro_rules! hashmap {
|
||||||
|
|
Loading…
Reference in a new issue