Adjust documentation for compatibility with 2021
This also adjusts the lint docs generation to accept (and ignore) an allow attribute, rather than expecting the documentation to be immediately followed by the lint name.
This commit is contained in:
@@ -257,7 +257,8 @@ pub struct ScopeTree {
|
||||
/// ```
|
||||
///
|
||||
/// With the HIR tree (calls numbered for expository purposes)
|
||||
/// ```
|
||||
///
|
||||
/// ```text
|
||||
/// Call#0(foo, [Call#1(f), Yield(y), Call#2(bar, Call#3(g))])
|
||||
/// ```
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user