Skip to content

Comments

Use OneIndexed in NotebookIndex#7921

Merged
dhruvmanila merged 1 commit intomainfrom
dhruv/notebook-one-indexed
Oct 13, 2023
Merged

Use OneIndexed in NotebookIndex#7921
dhruvmanila merged 1 commit intomainfrom
dhruv/notebook-one-indexed

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
@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