From f4fee55e83177bfeeb7c8a8c93817ba2ca7d9b4d Mon Sep 17 00:00:00 2001 From: vil02 <65706193+vil02@users.noreply.github.com> Date: Tue, 1 Oct 2024 00:16:50 +0200 Subject: [PATCH] style: comply with `partialeq_to_none` --- src/request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/request.rs b/src/request.rs index 838bee9..2572f1a 100644 --- a/src/request.rs +++ b/src/request.rs @@ -80,7 +80,7 @@ impl Request { fn parse(&mut self, env: Option, extra_args: HashMap) -> Result<()> { // Make sure we have the file content loaded. - if self.fstr == None { + if self.fstr.is_none() { self.load()?; }