mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 19:55:03 +01:00
fix tests
This commit is contained in:
parent
05f08aa9db
commit
262fdc3dc6
5 changed files with 33 additions and 37 deletions
|
|
@ -49,7 +49,7 @@ pub fn write_method<W: Write>(method: &Method, mut writer: W) -> Result<(), Tran
|
|||
write!(self.output, " bit(&[").ok();
|
||||
for field in fields_with_bit {
|
||||
let field_name = self.snake_case(&field.name);
|
||||
write!(self.output, "{field_name}, ").ok();
|
||||
write!(self.output, "*{field_name}, ").ok();
|
||||
}
|
||||
writeln!(self.output, "], &mut writer)?;").ok();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue