quick improvement to Field struct

This commit is contained in:
Djairo Hougee 2023-05-10 16:04:19 +02:00
parent 89532da395
commit bb8f359f6d
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ pub struct Field {
} }
impl Field { impl Field {
fn new(metadata_field: String, num_chars: u8) -> Self { fn new(field: String, num_chars: u8) -> Self {
Field { Field {
field: metadata_field, field,
num_chars num_chars
} }
} }