+fn print_pointer_line(
+ matches: &[bool],
+ marker: &str,
+ mut stdout: &mut StandardStream,
+) -> PrintResult {
+ for m in matches {
+ if *m {
+ write!(&mut stdout, " ")?;
+ } else {
+ write!(&mut stdout, "{}{}", marker, marker)?;
+ }
+ }
+ write!(&mut stdout, "\n")?;
+ Ok(())
+}
+