Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Fixed an error when a comment is in an attribute. #95

Merged
merged 1 commit into from
Feb 9, 2017
Merged

Fixed an error when a comment is in an attribute. #95

merged 1 commit into from
Feb 9, 2017

Conversation

KalitaAlexey
Copy link
Collaborator

@KalitaAlexey KalitaAlexey commented Jan 30, 2017

Maintainers of Visual Studio Code asked me to open this PR.
The PR in Visual Studio Code's repository: microsoft/vscode#19574

It fixes the case:

#[
//
/* */
derive(Debug)]
struct D {}

@KalitaAlexey
Copy link
Collaborator Author

KalitaAlexey commented Jan 30, 2017

This comment is hint for me.

There is also problem with a function call parameterized with some type:

fn main() {
    collect();
    collect::<Vec<_>>();
}

Unfortunately, I have no idea how to fix it.

@KalitaAlexey
Copy link
Collaborator Author

@zargony,
Are you still maintaining the repository?

@zargony
Copy link
Owner

zargony commented Feb 9, 2017

Thanks for the PR and sorry for the delay. (Unfortunately I currently don't get much free time and my main work sadly doesn't involve Rust at the moment) You seem pretty active with Rust projects, would you like to help out maintaining this plugin?

@zargony zargony added the bug label Feb 9, 2017
@zargony zargony merged commit 540f867 into zargony:master Feb 9, 2017
@KalitaAlexey
Copy link
Collaborator Author

Hi @zargony,
I would be glad to help.
Write me a message to the email: kalita.alexey@outlook.com

@KalitaAlexey KalitaAlexey deleted the fix-comments-in-attribute branch February 9, 2017 13:28
zargony added a commit that referenced this pull request Feb 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants