quick improvement to Field struct
This commit is contained in:
parent
89532da395
commit
bb8f359f6d
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue