//! This example tests Former with a minimal lifetime struct.
#![allow(missing_docs, dead_code)]
#[ cfg( feature = "enabled" ) ]
use former::Former;
#[ derive( Debug, Former ) ]
pub struct Minimal<'a> {
data: &'a str,
}
fn main() {
let s = "hello";
let instance = Minimal::former().data(s).form();
println!("{instance:?}");
}