📝 [config] Amplía y corrige documentación
This commit is contained in:
parent
f7dbd90af2
commit
6b8eee46f9
4 changed files with 108 additions and 19 deletions
|
@ -21,7 +21,7 @@ use quote::quote;
|
|||
///
|
||||
/// # Ejemplos
|
||||
///
|
||||
/// ```rust#ignore
|
||||
/// ```rust,ignore
|
||||
/// #[pagetop::main]
|
||||
/// async fn main() {
|
||||
/// async { println!("Hello world!"); }.await
|
||||
|
@ -42,7 +42,7 @@ pub fn main(_: TokenStream, item: TokenStream) -> TokenStream {
|
|||
///
|
||||
/// # Ejemplos
|
||||
///
|
||||
/// ```rust#ignore
|
||||
/// ```rust,ignore
|
||||
/// #[pagetop::test]
|
||||
/// async fn test() {
|
||||
/// assert_eq!(async { "Hello world" }.await, "Hello world");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue