We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
f32
f64
Value
1 parent c90e5c8 commit 9cd3c56Copy full SHA for 9cd3c56
tracing-attributes/src/lib.rs
@@ -1067,7 +1067,7 @@ enum RecordType {
1067
1068
impl RecordType {
1069
/// Array of primitive types which should be recorded as [RecordType::Value].
1070
- const TYPES_FOR_VALUE: [&'static str; 23] = [
+ const TYPES_FOR_VALUE: &'static [&'static str] = &[
1071
"bool",
1072
"str",
1073
"u8",
@@ -1078,6 +1078,8 @@ impl RecordType {
1078
"i32",
1079
"u64",
1080
"i64",
1081
+ "f32",
1082
+ "f64",
1083
"usize",
1084
"isize",
1085
"NonZeroU8",
0 commit comments