Skip to content

Inner doc comments cause compile failure #45

@sendittothenewts

Description

@sendittothenewts

For instance, the following toy example fails to compile, producing "error: expected ["

use easy_ext::ext;

#[ext] impl i32 {
	//! Square the number
	fn square(self) -> Self {
		self * self
	}
}

Tested with easy-ext 1.0.2 on rust 1.82.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: related to a bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions