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 daa70c8 commit 8061a90Copy full SHA for 8061a90
tests/constructors.rs
@@ -8,7 +8,7 @@ struct BadRope<'a>(&'a [&'a str]);
8
9
impl LenTextSize for BadRope<'_> {
10
fn len_text_size(self) -> TextSize {
11
- self.0.iter().copied().map(LenTextSize::len_text_size).sum()
+ self.0.iter().map(TextSize::of).sum()
12
}
13
14
0 commit comments