mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-08-27 20:00:03 -04:00
d655086a0c
This reverts commit d6d10ddda6.
16 lines
216 B
Rust
16 lines
216 B
Rust
// check-pass
|
|
|
|
fn load<L>() -> Option<L> {
|
|
todo!()
|
|
}
|
|
|
|
fn main() {
|
|
while let Some(tag) = load() {
|
|
match &tag {
|
|
b"NAME" => {}
|
|
b"DATA" => {}
|
|
_ => {}
|
|
}
|
|
}
|
|
}
|