Skip to content

Use my crate in playable snippets #1467

Closed
@ManevilleF

Description

@ManevilleF

Hello,

I don't know if this is possible but I would like to use my crate, which my mdbook is about in the playable snippets.

How do I do this? If I simply use mycrate compilation fails, if I use extern crate mycrate the snippet is no longer playable.

I don't find any information about this in the playground documentation nor in the mdbook book.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions