Skip to content

Commit 11db05c

Browse files
committed
Apparently my version of texinfo doesn't require curly braces to be escaped, but the buildbot's version does...
1 parent ac3fd91 commit 11db05c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/rust.texi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,12 +1836,12 @@ were declared without the @code{!} annotation, the following code would not
18361836
typecheck:
18371837
@example
18381838
fn f(int i) -> int @{
1839-
if (i == 42) {
1839+
if (i == 42) @{
18401840
ret 42;
1841-
}
1842-
else {
1841+
@}
1842+
else @{
18431843
my_err("Bad number!");
1844-
}
1844+
@}
18451845
@}
18461846
@end example
18471847

0 commit comments

Comments
 (0)