Skip to content

Commit 2e3b33e

Browse files
nbdd0121jwnrt
authored andcommitted
Fix warning
Signed-off-by: Gary Guo <[email protected]>
1 parent 86bfdf3 commit 2e3b33e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/autoschema.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl Schema {
7575

7676
fn detect(&mut self, root: &Document) {
7777
for (path, doc) in root.iter_path() {
78-
let mut node = self.get_mut(&path);
78+
let node = self.get_mut(&path);
7979
node.total += 1;
8080
match doc {
8181
Document::Null => node.null += 1,

0 commit comments

Comments
 (0)