Skip to content

Add README.md to line-index crate #16180

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

Closed
homersimpsons opened this issue Dec 21, 2023 · 2 comments · Fixed by #16302
Closed

Add README.md to line-index crate #16180

homersimpsons opened this issue Dec 21, 2023 · 2 comments · Fixed by #16302
Labels
C-feature Category: feature request

Comments

@homersimpsons
Copy link
Contributor

homersimpsons commented Dec 21, 2023

I recently came across https://crates.io/crates/line-index, but the page looks rather empty.

The short-description explains a bit what is the purpose of this crate:

Maps flat TextSize offsets to/from (line, column) representation

But I think a README.md file explaining what is the purpose of this crate and how to use it may help contributors and other people using it.

Crate source: https://github.com/rust-lang/rust-analyzer/tree/master/lib/line-index

@homersimpsons homersimpsons added the C-feature Category: feature request label Dec 21, 2023
@lnicola
Copy link
Member

lnicola commented Dec 21, 2023

Good idea, do you want to file a PR?

@homersimpsons
Copy link
Contributor Author

do you want to file a PR?

I would like to fill a PR, but does not really know anything about this crate.

If you don't have time to create it, I will dig a bit in the code to understand and document it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants