Skip to content

Removes path from span name to normalize it #639

Removes path from span name to normalize it

Removes path from span name to normalize it #639

GitHub Actions / clippy failed Sep 5, 2024 in 1s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check failure on line 32 in casper-server/src/lua/uri.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type annotations needed for `std::boxed::Box<_>`

error[E0282]: type annotations needed for `std::boxed::Box<_>`
  --> casper-server/src/lua/uri.rs:32:17
   |
32 |             let mut query_pairs = query
   |                 ^^^^^^^^^^^^^^^
...
38 |             query_pairs.sort_by_key(|x| x[0]);
   |                         ----------- type must be known at this point
   |
help: consider giving `query_pairs` an explicit type, where the placeholders `_` are specified
   |
32 |             let mut query_pairs: std::boxed::Box<_> = query
   |                                ++++++++++++++++++++