Skip to content

Constant doc strings are not placed into the C header output #403

@jamesmunns

Description

@jamesmunns

Given the following input:

/// A reasonable approximation of PI
pub const PI: f32 = 3.14159;

The following output is generated

#define PI 3.14159

I would instead expect the following to be generated:

/**
 * A reasonable approximation of PI
 */
#define PI 3.14159

So far I have successfully generated docs for other types, but constants do not seem to have their documentation brought along.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions