From 9875785f24c30c990942e3412b3feb8f798bb4dc Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 21 Dec 2024 10:51:05 -0800 Subject: [PATCH] Tweak wording of NULL/TRUE/FALSE documentation --- src/raw.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/raw.rs b/src/raw.rs index 0eeb4c46f..f81d943a5 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -168,11 +168,11 @@ impl Display for RawValue { } impl RawValue { - /// A literal JSON null value as `RawValue`. + /// A constant RawValue with the JSON value `null`. pub const NULL: &'static RawValue = RawValue::from_borrowed("null"); - /// A literal JSON boolean true value as `RawValue`. + /// A constant RawValue with the JSON value `true`. pub const TRUE: &'static RawValue = RawValue::from_borrowed("true"); - /// A literal JSON boolean false value as `RawValue`. + /// A constant RawValue with the JSON value `false`. pub const FALSE: &'static RawValue = RawValue::from_borrowed("false"); /// Convert an owned `String` of JSON data to an owned `RawValue`.