maplibre / maplibre-rs

Experimental Maps for Web, Mobile and Desktop
Apache License 2.0
1.34k stars 77 forks source link

chore: Inline format args #285

Closed nyurik closed 1 year ago

nyurik commented 1 year ago

a few minor inlining - it seems all tracing libs can handle inlined format args properly

NOTE: there are a few references that were passed to format!. I don't believe this is needed - format should work just as well with the actual value. E.g. format!("{}", foo) and format!("{}", &foo) should be the same code. See stackoverflow that foo is already being passed in as &foo; so &foo is actually &&foo