let mut out = Vec::new();
if let Some((tooltip, class)) = tooltip {
- write!(out, "<div class='information'><div class='tooltip {}'>â\9a <span \
+ write!(out, "<div class='information'><div class='tooltip {}'>â\93\98<span \
class='tooltiptext'>{}</span></div></div>",
class, tooltip).unwrap();
}
))
});
let tooltip = if ignore {
- Some(("Be careful when using this code, it's not being tested!", "ignore"))
+ Some(("This example is not tested", "ignore"))
} else if compile_fail {
- Some(("This code doesn't compile so be extra careful!", "compile_fail"))
+ Some(("This example deliberately fails to compile", "compile_fail"))
} else {
None
};
))
});
let tooltip = if ignore {
- Some(("Be careful when using this code, it's not being tested!", "ignore"))
+ Some(("This example is not tested", "ignore"))
} else if compile_fail {
- Some(("This code doesn't compile so be extra careful!", "compile_fail"))
+ Some(("This example deliberately fails to compile", "compile_fail"))
} else {
None
};