我正在写一些 rust doc 示例(正在编译):
/// ```rust
/// # #[macro_use]
/// # extern crate ...
/// ...
/// ```
但是cargo doc
给了我这个[不正确的]警告:
warning: could not parse code block as Rust code
--> srml/support/src/dispatch.rs:105:5
|
105 | /// ```rust
| ________^
106 | | /// # #[macro_use]
| |_
|
= note: error from rustc: unknown start of token: `
help: mark blocks that do not contain Rust code as text
|
105 | /// ```textrust
| ^^^^^^^
我应该压制这个警告..还是这里有什么东西?