mirror of
https://github.com/tlsnotary/tlsn-utils.git
synced 2026-01-09 20:57:56 -05:00
docs(spansy): mention that quotes aren't captures in JSON string span
This commit is contained in:
@@ -229,7 +229,9 @@ pub struct Number(pub(crate) Span<str>);
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||
/// A string value.
|
||||
/// A JSON string value.
|
||||
///
|
||||
/// This span does not capture the quotation marks around the string.
|
||||
pub struct String(pub(crate) Span<str>);
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
|
||||
Reference in New Issue
Block a user