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

Use OneIndexed in NotebookIndex #7921

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

dhruvmanila
Copy link
Member

@dhruvmanila dhruvmanila commented Oct 11, 2023

Summary

This PR refactors the NotebookIndex struct to use OneIndexed to make the
intent of the code clearer.

Test Plan

Update the existing test case and run cargo test to verify the change.

  • Verify --diff output
  • Verify the diagnostics output
  • Verify --show-source output

@dhruvmanila
Copy link
Member Author

dhruvmanila commented Oct 11, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@dhruvmanila dhruvmanila added the internal An internal refactor or improvement label Oct 11, 2023
@github-actions
Copy link
Contributor

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

@dhruvmanila dhruvmanila marked this pull request as ready for review October 11, 2023 18:39
@dhruvmanila dhruvmanila merged commit cd564c4 into main Oct 13, 2023
16 checks passed
@dhruvmanila dhruvmanila deleted the dhruv/notebook-one-indexed branch October 13, 2023 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants