aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Cargo.toml2
-rw-r--r--lib/src/lib.rs5
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/Cargo.toml b/lib/Cargo.toml
index e9bca06..b876c4c 100644
--- a/lib/Cargo.toml
+++ b/lib/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2name = "lib" 2name = "lib"
3version = "0.1.0" 3version = "0.0.0"
4edition = "2018" 4edition = "2018"
5 5
6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
diff --git a/lib/src/lib.rs b/lib/src/lib.rs
index bde039f..41e38c8 100644
--- a/lib/src/lib.rs
+++ b/lib/src/lib.rs
@@ -7,7 +7,10 @@ use rnix::{SyntaxElement, SyntaxKind, TextRange};
7use std::{convert::Into, default::Default}; 7use std::{convert::Into, default::Default};
8 8
9#[cfg(feature = "json-out")] 9#[cfg(feature = "json-out")]
10use serde::{Serialize, ser::{SerializeStruct, Serializer}}; 10use serde::{
11 ser::{SerializeStruct, Serializer},
12 Serialize,
13};
11 14
12/// Report generated by a lint 15/// Report generated by a lint
13#[derive(Debug, Default)] 16#[derive(Debug, Default)]