-
Notifications
You must be signed in to change notification settings - Fork 11
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
impl TextLen for &'_ Arc<String> #45
Comments
Kind of: we just follow the concervative set of impls of std::Pattern: https://doc.rust-lang.org/stable/std/str/pattern/trait.Pattern.html#implementors |
Maybe that's a restriction which makes more sense for std though. |
Yes, this needs to be fixed at the call-site by calling |
That's definitely out-of-date documentation on Our general consensus (for 1.0 at least) was that |
We should probably add an impl for |
46: Fix TextSize::of docs to no longer suggest implementing TextLen r=matklad a=CAD97 Addresses the misleading docs part of #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]>
Is this intentionally missing ?
Would be nice :)
TextSize::of:
But the trait is Sealed without a rationale :(
The text was updated successfully, but these errors were encountered: