]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/str-concat.rs
4 let a
: String
= "hello".to_string();
5 let b
: String
= "world".to_string();
6 let s
: String
= format
!("{}{}", a
, b
);
7 println
!("{}", s
.clone());
8 assert_eq
!(s
.as_bytes()[9], 'd'
as u8);