From bc162b7f7cb4901128050911d4371507fc88fee3 Mon Sep 17 00:00:00 2001 From: Robert Balicki Date: Sun, 5 Jan 2025 15:32:30 +0900 Subject: [PATCH] rename variable for clarity --- crates/common_lang_types/src/location.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/common_lang_types/src/location.rs b/crates/common_lang_types/src/location.rs index aa005065..2265a5bf 100644 --- a/crates/common_lang_types/src/location.rs +++ b/crates/common_lang_types/src/location.rs @@ -106,9 +106,9 @@ pub struct AbsoluteLocation { impl fmt::Display for AbsoluteLocation { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match self.relative_location { - Location::Embedded(embedded_location) => { + Location::Embedded(relative_embedded_location) => { let wrapper = AbsoluteEmbeddedLocation { - relative_embedded_location: embedded_location, + relative_embedded_location, }; wrapper.fmt(f) }