From aee781a6fb85987a61a51aef3dc59ef14001f1e9 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 21 Sep 2021 16:09:50 -0400 Subject: [PATCH] tamer: bench: xir: Fix broken benchmark This broke when I removed `SelfClose`. I used to run `make all fmt check bench` before every push, but they take a while to run, in part because it uses nightly and has to recompile too. But it looks like I need to be more diligent again. --- tamer/benches/xir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tamer/benches/xir.rs b/tamer/benches/xir.rs index 5f2c9afd..6cb4f4d8 100644 --- a/tamer/benches/xir.rs +++ b/tamer/benches/xir.rs @@ -217,7 +217,7 @@ This is pretend fragment text. We need a lot of it. Token::AttrValue(AttrValue::Escaped(val1), span), Token::AttrName(attr2, span), Token::AttrValue(AttrValue::Escaped(val2), span), - Token::SelfClose(span), + Token::Close(None, span), ] .into_iter() .write(&mut buf, Default::default())