Skip to content

Commit 0fe47a3

Browse files
committed
Remove incorrect doc comment
1 parent a318856 commit 0fe47a3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/traits.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ pub trait TextSized: Copy {
66
fn text_size(self) -> TextSize;
77
}
88

9-
/// This will panic for strings larger than `TextSize::MAX` when
10-
/// debug assertions are enabled, and wrap when they are disabled.
119
impl TextSized for &'_ str {
1210
#[inline]
1311
fn text_size(self) -> TextSize {

0 commit comments

Comments
 (0)