Rename struct

This commit is contained in:
Dennis
2024-06-05 14:59:19 +02:00
parent 20708b0ff8
commit f1ad997a4b
2 changed files with 8 additions and 11 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
use std::io::{self, Write};
use cucumber::{cli, event, parser, Event};
// TODO: add colors
pub struct DotWriter;
pub struct CustomWriter;
impl<W: 'static> cucumber::Writer<W> for CustomWriter {
impl<W: 'static> cucumber::Writer<W> for DotWriter {
type Cli = cli::Empty; // we provide no CLI options
async fn handle_event(&mut self, ev: parser::Result<Event<event::Cucumber<W>>>, _: &Self::Cli) {