]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-12677.rs
Rollup merge of #105796 - notriddle:notriddle/rustdoc-search-stop-doing-demerits...
[rust.git] / tests / ui / issues / issue-12677.rs
1 // run-pass
2
3 fn main() {
4     let s = "Hello";
5     let first = s.bytes();
6     let second = first.clone();
7
8     assert_eq!(first.collect::<Vec<u8>>(), second.collect::<Vec<u8>>())
9 }