Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc comments on callbacks #26

Merged
merged 1 commit into from
Jun 1, 2015
Merged

Fix doc comments on callbacks #26

merged 1 commit into from
Jun 1, 2015

Conversation

thelink2012
Copy link
Collaborator

Once rust-lang/rust#23812 is fixed this should be reverted.

One can easily use the following regexp replace to convert between the two doc comments modes:

From comments to attributes:

([\t ]*)\/\/\/[ ]?(.*)
$1#[doc="$2"]

From attributes back to comments:

([\t ]*)#\[doc="(.*)"\]
$1/// $2

thelink2012 added a commit that referenced this pull request Jun 1, 2015
Fix doc comments on callbacks
@thelink2012 thelink2012 merged commit 672a599 into master Jun 1, 2015
@thelink2012 thelink2012 deleted the doczz branch June 3, 2015 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant