Skip to content

Commit

Permalink
Tweak wording of NULL/TRUE/FALSE documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 21, 2024
1 parent 4aa05b9 commit 9875785
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 9875785

Please sign in to comment.