Skip to content

Comments formatting #100

@schungx

Description

@schungx

Format this:

let file = external::load_file(); foo::bar::hello(); let a = foo::bar::hello;

// We can access nested modules defined inline as well.
nested::inner::need::to::go_deeper::YEAH;

yields this:

let file = external::load_file();

// We can access nested modules defined inline as well.
foo::bar::hello();

// We can access nested modules defined inline as well.
let a = foo::bar::hello;

// We can access nested modules defined inline as well.
nested::inner::need::to::go_deeper::YEAH;

The comment on the following line is duplicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions