switch from rs to rust to work properly with cargo doc

This commit is contained in:
askiiart 2024-11-30 01:15:34 -06:00
parent cf7a3b7d53
commit 162f03fced
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
2 changed files with 3 additions and 3 deletions

View file

@ -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" />

View file

@ -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 {