]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui/string_extend.fixed
New upstream version 1.68.2+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / string_extend.fixed
index 1883a9f8325783ecb7949b9d21bf791842c701ff..d200d7310fca5b5da74013bdae02e0c5aea07a17 100644 (file)
@@ -29,4 +29,7 @@ fn main() {
 
     let f = HasChars;
     s.extend(f.chars());
+
+    // issue #9735
+    s.push_str(&abc[0..2]);
 }