Fix formatting of Rustdoc
diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs
index c346eab..c97ae32 100644
--- a/codegen/src/lib.rs
+++ b/codegen/src/lib.rs
@@ -12,10 +12,18 @@
 /// Procedural attribute macro. This is meant to be applied to a binary's async
 /// `main()`, transforming into a function that returns a type acceptable for
 /// `main()`. In other words, this will not compile with libtock-rs:
-///     async fn main() {}
+/// ```ignore
+/// async fn main() {
+///     // async code
+/// }
+/// ```
 /// and this will:
-///     #[libtock::main]
-///     async fn main() {}
+/// ```ignore
+/// #[libtock::main]
+/// async fn main() {
+///     // async code
+/// }
+/// ```
 #[proc_macro_attribute]
 pub fn main(_: TokenStream, input: TokenStream) -> TokenStream {
     generate_main_wrapped(input.into()).into()