Skip to content

Commit eff77e3

Browse files
author
Boris Zhguchev
committed
fix clippy w
1 parent 5997550 commit eff77e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "jsonpath-rust"
33
description = "The library provides the basic functionality to find the set of the data according to the filtering query."
4-
version = "0.2.6"
4+
version = "0.2.7"
55
authors = ["BorisZhguchev <zhguchev@gmail.com>"]
66
edition = "2018"
77
license-file = "LICENSE"

src/path/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ mod tests {
342342

343343
#[test]
344344
fn array_slice_end_start_test() {
345-
let array = vec![0, 1, 2, 3, 4, 5];
345+
let array = [0, 1, 2, 3, 4, 5];
346346
let len = array.len() as i32;
347347
let mut slice = ArraySlice::new(0, 0, 0);
348348

0 commit comments

Comments
 (0)