Loading RustViz Engine...
Disambiguate struct reference lifetime from method parameter lifetime.
This problem is currently in blueprint template mode. Once the concept foundation is finalized, live in-browser WebAssembly compilation and test assertion runners will be enabled here.
pub struct Context<'a> {
pub name: &'a str,
}
impl<'a> Context<'a> {
pub fn announce<'b>(&self, prefix: &'b str) -> String {
format!("{} on {}", prefix, self.name)
}
}