From ffe5c3cc039a2491de5b95e9b6a7a7f1c61ff146 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 28 Dec 2024 02:33:18 +0100 Subject: [PATCH] `astreams`: Improve variable naming consistency --- acrate_astreams/src/activitystreams/jsonld.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acrate_astreams/src/activitystreams/jsonld.rs b/acrate_astreams/src/activitystreams/jsonld.rs index 5583212..d623352 100644 --- a/acrate_astreams/src/activitystreams/jsonld.rs +++ b/acrate_astreams/src/activitystreams/jsonld.rs @@ -25,7 +25,7 @@ impl StreamsJsonLD for &json_ld::Node { let r#str = match value.as_str() { None => return Some(Err(anyhow!("Couldn't process property as JSON-LD string"))), - Some(string) => string + Some(r#str) => r#str }; let string = r#str.to_string();