2C4IMVXFZ2JTPWLBFQAY5SVVOJD6AUECPBMZ2UEMU3BBXFDLMS4AC
impl<'tl> RaiseTo for TextLine<'tl> {
type Target = String;
type Output<'a> = TextLine<'a>;
fn raise_to<'a>(&self, target: &'a mut String) -> Self::Output<'a> {
let old_end = target.len();
target.push_str(self.0);
TextLine(&target[old_end..])
}
}
impl<'st> RaiseTo for &'st str {
type Target = String;
type Output<'a> = &'a str;
fn raise_to<'a>(&self, target: &'a mut String) -> Self::Output<'a> {
let old_end = target.len();
target.push_str(self);
&target[old_end..]
}
}