Skip to content

Conversation

@Veykril
Copy link
Member

@Veykril Veykril commented Nov 7, 2025

This pulls in https://github.com/rust-analyzer/text-size, moving maintenance into the main repo.

matklad and others added 30 commits June 20, 2018 14:43
It's useful for cross-crate inlining
1: Add extend_to for TextRange r=edwin0cheng a=edwin0cheng

~~This PR added a `convex_hull` function for joining to two `TextUnit` together.~~

This PR added a `extend_to` function for joining to two `TextUnit` together.

Co-authored-by: Edwin Cheng <[email protected]>
Large refactor: text-size almost-1.0 crate
This is in contrast to `std::ops::Range`, which are not guaranteed to
be proper. For this reason, we have to lose `From` impls as well.
The impl is valid, but probably not too useful, we can always add it later
Add a couple of non-canonical ctors
bnjjj and others added 17 commits April 14, 2020 09:46
43: fix typos r=CAD97 a=connorskees

This fixes 3 small typos in the docs :)

Co-authored-by: ConnorSkees <[email protected]>
42: Update README.md with the right title r=matklad a=bnjjj



Co-authored-by: Coenen Benjamin <[email protected]>
44: Scope trait TextLen just for primitives r=matklad a=CAD97

As an alternative to rust-lang#41 

I thought I posted this already....

Co-authored-by: CAD97 <[email protected]>
46: Fix TextSize::of docs to no longer suggest implementing TextLen r=matklad a=CAD97

Addresses the misleading docs part of rust-lang#45 by editing the docs back to their minimum. Does not yet provide advice on idioms for non-primitive types.

Co-authored-by: CAD97 <[email protected]>
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 7, 2025
@rustbot

This comment was marked as resolved.

@rustbot rustbot added has-merge-commits S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 7, 2025
@Veykril Veykril added this pull request to the merge queue Nov 8, 2025
Merged via the queue into rust-lang:master with commit 3efda63 Nov 8, 2025
15 checks passed
@Veykril Veykril deleted the push-rrpwmvnskstu branch November 8, 2025 10:32
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 8, 2025
@lnicola lnicola changed the title Merge text-size into rust-analyzer internal: Merge text-size into rust-analyzer Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-merge-commits S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants