mirror of https://github.com/rust-lang/book
Handle ending of BoxCode better
This commit is contained in:
parent
2b9f0dc4d8
commit
6e4c1fdd00
|
@ -60,6 +60,8 @@ add this:
|
||||||
> ```
|
> ```
|
||||||
> [profile.release]
|
> [profile.release]
|
||||||
> panic = 'abort'
|
> panic = 'abort'
|
||||||
|
> ```
|
||||||
|
|
||||||
Let’s try calling `panic!` in a simple program:
|
Let’s try calling `panic!` in a simple program:
|
||||||
|
|
||||||
Filename: src/main.rs
|
Filename: src/main.rs
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
<xsl:text> > ``` > </xsl:text>
|
<xsl:text> > ``` > </xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> > ``` </xsl:text>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
Loading…
Reference in New Issue