diff options
Diffstat (limited to 'lib/src/lints/unquoted_uri.rs')
-rw-r--r-- | lib/src/lints/unquoted_uri.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lints/unquoted_uri.rs b/lib/src/lints/unquoted_uri.rs index 8835338..440b278 100644 --- a/lib/src/lints/unquoted_uri.rs +++ b/lib/src/lints/unquoted_uri.rs | |||
@@ -1,4 +1,4 @@ | |||
1 | use crate::{make, Metadata, Report, Rule, Suggestion}; | 1 | use crate::{make, session::SessionInfo, Metadata, Report, Rule, Suggestion}; |
2 | 2 | ||
3 | use if_chain::if_chain; | 3 | use if_chain::if_chain; |
4 | use macros::lint; | 4 | use macros::lint; |
@@ -46,7 +46,7 @@ use rnix::{types::TypedNode, NodeOrToken, SyntaxElement, SyntaxKind}; | |||
46 | struct UnquotedUri; | 46 | struct UnquotedUri; |
47 | 47 | ||
48 | impl Rule for UnquotedUri { | 48 | impl Rule for UnquotedUri { |
49 | fn validate(&self, node: &SyntaxElement) -> Option<Report> { | 49 | fn validate(&self, node: &SyntaxElement, _sess: &SessionInfo) -> Option<Report> { |
50 | if_chain! { | 50 | if_chain! { |
51 | if let NodeOrToken::Token(token) = node; | 51 | if let NodeOrToken::Token(token) = node; |
52 | then { | 52 | then { |