test(tests): fix the pinned value count past the depth cap (65 + 1000 + 65); doc comment
This commit is contained in:
1 parent
83a66a23dc
commit
cad485b13c
2 files changed
+3
-2
No files matched your search
@@ -52,7 +52,7 @@ pub fn starts_json_object(data: &[u8]) -> bool {
|
||||
pub struct JsonPrescan {
|
||||
/// `withinJsonDepth`: the bracket depth never went over [`MAX_JSON_DEPTH`].
|
||||
pub within_depth: bool,
|
||||
/// Values counted before the scan ended (at the refusal when `within_depth` is false).
|
||||
/// Values counted over the whole text, whatever the depth verdict.
|
||||
pub values: u64,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user