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

librustc_lexer: Enhance documentation #65849

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

popzxc
Copy link
Contributor

@popzxc popzxc commented Oct 26, 2019

This PR enhances documentation state of the librustc_lexer (as initiative caused by rustc-guide#474), by adding:

  • Module documentation.
  • Doc-comments (and a bit of usual comments) in non-obvious (as for me) places.

r? @petrochenkov

cc @Centril

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 26, 2019
@Centril
Copy link
Contributor

Centril commented Oct 26, 2019

cc @matklad

src/librustc_lexer/src/lib.rs Outdated Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Outdated Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Outdated Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Outdated Show resolved Hide resolved
src/librustc_lexer/src/unescape.rs Outdated Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Outdated Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Outdated Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Outdated Show resolved Hide resolved
src/librustc_lexer/src/lib.rs Show resolved Hide resolved
@petrochenkov petrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 27, 2019
Apply review suggestions

Apply review suggestions
@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Oct 27, 2019

📌 Commit 993b920 has been approved by petrochenkov

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 27, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 27, 2019
…etrochenkov

librustc_lexer: Enhance documentation

This PR enhances documentation state of the `librustc_lexer` (as initiative caused by [rustc-guide#474](rust-lang/rustc-dev-guide#474)), by adding:

- Module documentation.
- Doc-comments (and a bit of usual comments) in non-obvious (as for me) places.

r? @petrochenkov

cc @Centril
Centril added a commit to Centril/rust that referenced this pull request Oct 28, 2019
…etrochenkov

librustc_lexer: Enhance documentation

This PR enhances documentation state of the `librustc_lexer` (as initiative caused by [rustc-guide#474](rust-lang/rustc-dev-guide#474)), by adding:

- Module documentation.
- Doc-comments (and a bit of usual comments) in non-obvious (as for me) places.

r? @petrochenkov

cc @Centril
bors added a commit that referenced this pull request Oct 28, 2019
Rollup of 6 pull requests

Successful merges:

 - #64747 (Stabilize `Option::flatten`)
 - #65664 (`std::panic::Location` is a lang_item, add `core::intrinsics::caller_location` (RFC 2091 3/N))
 - #65792 (rustc, rustc_passes: reduce deps on rustc_expand)
 - #65849 (librustc_lexer: Enhance documentation)
 - #65873 (doc: explain why it is unsafe to construct Vec<u8> from Vec<u16>)
 - #65880 (Gather together usefulness tests)

Failed merges:

r? @ghost
@bors bors merged commit 993b920 into rust-lang:master Oct 28, 2019
@popzxc popzxc deleted the document-librustc_lexer branch October 28, 2019 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants