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

Inline implementation of lookup_line #86881

Merged
merged 1 commit into from
Jul 9, 2021
Merged

Conversation

tmiasko
Copy link
Contributor

@tmiasko tmiasko commented Jul 5, 2021

to avoid unnecessary conversions from Option<usize> to isize and back.

@rust-highfive
Copy link
Collaborator

r? @nagisa

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 5, 2021
@rust-log-analyzer

This comment has been minimized.

@tmiasko tmiasko force-pushed the lookup-line branch 3 times, most recently from 53fe8d6 to 93820f9 Compare July 5, 2021 15:00
@rust-log-analyzer

This comment has been minimized.

@nagisa
Copy link
Member

nagisa commented Jul 8, 2021

LGTM, r=me with or without the comment addressed.

to simplify the implementation and avoid unnecessary
conversions from `Option<usize>` to `isize` and back.
@nagisa
Copy link
Member

nagisa commented Jul 9, 2021

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Jul 9, 2021

📌 Commit 1719d45 has been approved by nagisa

@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-review Status: Awaiting review from the assignee but also interested parties. labels Jul 9, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 9, 2021
Rollup of 5 pull requests

Successful merges:

 - rust-lang#86855 (Fix comments about unique borrows)
 - rust-lang#86881 (Inline implementation of lookup_line)
 - rust-lang#86937 (Change linked tracking issue for more_qualified_paths)
 - rust-lang#86994 (Update the comment on `lower_expr_try`)
 - rust-lang#87000 (Use #[track_caller] in const panic diagnostics.)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit ad10107 into rust-lang:master Jul 9, 2021
@rustbot rustbot added this to the 1.55.0 milestone Jul 9, 2021
@tmiasko tmiasko deleted the lookup-line branch July 9, 2021 18:33
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.

None yet

7 participants