From fd6e374b0316448e5e532187ced5cba8cd1f6efa Mon Sep 17 00:00:00 2001 From: cqb13 Date: Thu, 25 Apr 2024 10:40:08 -0400 Subject: [PATCH] renamed variable --- src/commands/relations.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/relations.rs b/src/commands/relations.rs index d019f6a..c12cf8a 100644 --- a/src/commands/relations.rs +++ b/src/commands/relations.rs @@ -36,9 +36,9 @@ pub fn relations_command( } if display { - for follower in json.as_array().unwrap() { - let username = follower["login"].as_str().unwrap_or("None"); - let html_url = follower["html_url"].as_str().unwrap_or("None"); + for relation in json.as_array().unwrap() { + let username = relation["login"].as_str().unwrap_or("None"); + let html_url = relation["html_url"].as_str().unwrap_or("None"); println!("{:<20} - {}", username, html_url); println!(); }