Skip to content

Commit

Permalink
rename variable for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
rbalicki2 committed Jan 5, 2025
1 parent 58085cb commit bc162b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/common_lang_types/src/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit bc162b7

Please sign in to comment.