Skip to content

Short code listings don't display Ferris #2266

Open
@MichaelBlume

Description

@MichaelBlume

Listing is

fn main() {
    panic!("crash and burn");
}

which definitely panics. Source in book is

<please imagine a triple-quote here which I don't know how to escape>rust,should_panic,panics
{{#rustdoc_include ../listings/ch09-error-handling/no-listing-01-panic/src/main.rs}}
<another triple-quote>

which looks like it's meant to display the panic icon? But in my browser it displays as

Screen Shot 2020-02-17 at 1 39 38 PM

with no panicking Ferris.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions