title: Documenting a function created with a macro in Rust
body: <p>I tried to do</p>
  
  <pre><code>#![deny(missing_docs)]
  </code></pre>
  
  <p>in Rust. And I found that <code>///</code> comments are just ignored when a function is created with a macro like this:</p>
  
  <pre><code>/// docs
  py_module_initializer!(libx, initlibx PyInit_libx |py, m| {
      Ok(())
  });
  </code></pre>
  
  <p>with:</p>
  
  <pre><code>error: missing documentation for a function
  113 | py_module_initializer!(libx initlibx PyInit_libx |py, m| {
      | ^
  </code></pre>
  
  <p>I thought a macro will just add a function definition after <code>///</code>. What is wrong here?</p>