1 2 3 4 5 6 7 8
use inline_tweak::{tweak, watch}; fn main() { loop { println!("{}", tweak!(4.5)); // Try changing the value while the application is running watch!(); // The thread will sleep here until anything in the file changes } }