Skip to content

Commit 0772082

Browse files
Folydhawkw
andcommitted
Change TYPES_FOR_VALUE to a slice
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
1 parent 977a5ba commit 0772082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing-attributes/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ enum RecordType {
878878

879879
impl RecordType {
880880
/// Array of primitive types which should be recorded as [RecordType::Value].
881-
const TYPES_FOR_VALUE: [&'static str; 25] = [
881+
const TYPES_FOR_VALUE: &'static [&'static str] = &[
882882
"bool",
883883
"str",
884884
"u8",

0 commit comments

Comments
 (0)