expand/
use_u8.rs

1// File: ./examples/expand/use_u8.rs
2// clear && cargo expand --example expand -- use_u8
3// clear && cargo run --example expand -- use_u8
4
5//=======
6#![allow(unused_variables)]
7
8
9//=======
10#[cfg(feature = "ok")]
11pub fn adjoin() {
12    let instance = 42u8;
13    let clone_instance = instance.clone();
14    let copy_instance = instance;
15
16    let use_instance = instance;
17}
18
19
20
21//=======
22#[cfg(all(
23    not(feature = "ok"),
24))]
25pub fn adjoin() {
26    use aide::*;
27    hello();
28}