From 8356af541034b2d223da80657d0a859cb735799e Mon Sep 17 00:00:00 2001 From: Caleb Hattingh Date: Sun, 26 Mar 2023 15:06:30 +0200 Subject: [PATCH] Fix lint --- src/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document.rs b/src/document.rs index 5fa3d46..1f5d4d6 100644 --- a/src/document.rs +++ b/src/document.rs @@ -195,7 +195,7 @@ pub(crate) fn extract_value(any: &PyAny) -> PyResult { return Ok(Value::Facet(facet.inner)); } if let Ok(b) = any.extract::>() { - return Ok(Value::Bytes(b)) + return Ok(Value::Bytes(b)); } Err(to_pyerr(format!("Value unsupported {any:?}"))) }