fixxed lint

This commit is contained in:
Erin 2023-07-12 02:24:05 +02:00 committed by ondra05
parent 116a228c5a
commit ad9868c1c0

View file

@ -40,7 +40,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.with_code(e_code) .with_code(e_code)
.with_message(format!("{:?}", e.kind)) .with_message(format!("{:?}", e.kind))
.with_label( .with_label(
Label::new(("engine_internal", e.span.clone())) Label::new(("engine_internal", e.span))
.with_message(message) .with_message(message)
.with_color(a), .with_color(a),
) )