quick improvement to Field struct

This commit is contained in:
djaidjai committed 2023-05-10 16:04:19 +02:00
1 parent 89532da395
commit bb8f359f6d
1 file changed
+2 -2
+2 -2
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
} }
} }
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.