File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ impl Parser {
6767 };
6868
6969 // Look for the field pattern: "field_name": "value" or "field_name":"value"
70- if let Some(start) = definition.find(&format!("\"{}\"", field_name )) {
70+ if let Some(start) = definition.find(&format!("\"{field_name }\"")) {
7171 // Find the colon after the field name
7272 if let Some(colon_pos) = definition[start..].find(':') {
7373 let after_colon = &definition[start + colon_pos + 1..];
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ impl Meta {
4646 let content = match fs::read_to_string(file_path) {
4747 Ok(content) => content,
4848 Err(err) => {
49- println!("Error reading file: {}", err );
49+ println!("Error reading file: {err}" );
5050 return Err(err);
5151 }
5252 };
@@ -143,7 +143,7 @@ impl Reader {
143143 result.push(meta_result);
144144 }
145145 Err(err) => {
146- println!("Error reading meta: {:?}", err );
146+ println!("Error reading meta: {err :?}");
147147 }
148148 }
149149 } else {
@@ -166,7 +166,7 @@ impl Reader {
166166 result.push(meta_result);
167167 }
168168 Err(err) => {
169- println!("Error reading meta: {:?}", err );
169+ println!("Error reading meta: {err :?}");
170170 }
171171 }
172172 }
You can’t perform that action at this time.
0 commit comments