We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c24bbb commit 4bf6b19Copy full SHA for 4bf6b19
src/size.rs
@@ -33,11 +33,9 @@ impl fmt::Debug for TextSize {
33
}
34
35
impl TextSize {
36
- /// The text size of some text-like object.
+ /// The text size of some primitive text-like object.
37
///
38
- /// Accepts `char`, `&str`, and references to any custom string-like type
39
- /// that dereferences to `str`. Types that don't dereference to `str` but
40
- /// want to be usable in this constructor can implement [`TextLen`].
+ /// Accepts `char`, `&str`, and `&String`.
41
42
/// # Examples
43
0 commit comments