Skip to content

Commit

Permalink
Change TYPES_FOR_VALUE to a slice
Browse files Browse the repository at this point in the history
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
Folyd and hawkw committed Aug 26, 2021
1 parent 977a5ba commit 0772082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-attributes/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ enum RecordType {

impl RecordType {
/// Array of primitive types which should be recorded as [RecordType::Value].
const TYPES_FOR_VALUE: [&'static str; 25] = [
const TYPES_FOR_VALUE: &'static [&'static str] = &[
"bool",
"str",
"u8",
Expand Down

0 comments on commit 0772082

Please sign in to comment.