14 lines
243 B
Rust
14 lines
243 B
Rust
|
fn main() {
|
||
|
println!("Hello, world!");
|
||
|
}
|
||
|
|
||
|
struct Solution;
|
||
|
|
||
|
impl Solution {
|
||
|
pub fn get_concatenation(nums: Vec<i32>) -> Vec<i32> {
|
||
|
let mut result = nums.clone();
|
||
|
result.append(&mut nums.clone());
|
||
|
result
|
||
|
}
|
||
|
}
|