mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-07 22:58:04 +08:00
11 lines
243 B
Rust
11 lines
243 B
Rust
|
extern crate opus;
|
||
|
|
||
|
fn main() {
|
||
|
let mut rp = opus::Repacketizer::new().unwrap();
|
||
|
let mut wip = rp.begin().cat_move(
|
||
|
&[1, 2, 3]
|
||
|
//~^ ERROR borrowed value does not live long enough
|
||
|
).unwrap();
|
||
|
wip.out(&mut []);
|
||
|
}
|