Skip to content

CString Documentation example does not compile #48218

Description

@LivingInSyn

This is in regards to this example in the documentation:

https://doc.rust-lang.org/std/ffi/struct.CString.html#examples

Clicking 'Run' on brings you to the rust playground, where it fails to compile. It is missing the function my_printer

Link to playground: here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions