Fix formatting of some code blocks in pdf docs
Code blocks apparently need to be surrounded by whitespace to be output correctly when generating pdfs
This commit is contained in:
parent
bae091e517
commit
5464d48e90
4 changed files with 18 additions and 0 deletions
|
@ -278,6 +278,7 @@ return result + val;
|
|||
This solves the indentation problem. But if we have a lot of chained matches
|
||||
like this, we might prefer to write a single macro invocation. The input
|
||||
pattern we want is clear:
|
||||
|
||||
~~~~
|
||||
# macro_rules! b(
|
||||
( $( ($e:expr) ~ ($p:pat) else $err:stmt ; )*
|
||||
|
@ -304,6 +305,7 @@ input patterns:
|
|||
( binds $( $bind_res:ident ),* )
|
||||
# => (0))
|
||||
~~~~
|
||||
|
||||
...and:
|
||||
|
||||
~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue