Skip to content

Commit e2c482a

Browse files
committed
fix: misnamed feature-gated struct
1 parent 09e83de commit e2c482a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htsget-config/src/config/location.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ impl TryFrom<LocationWrapper> for SimpleLocation {
298298
Ok(SimpleLocation::new(backend.0, backend.1, Some(wrapper.location.prefix_or_id)))
299299
} else {
300300
let backend: BackendWithAppend = wrapper.location.location.unwrap_or_default().try_into()?;
301-
Ok(Location::new(backend.0, backend.1, Some(wrapper.location.prefix_or_id)))
301+
Ok(SimpleLocation::new(backend.0, backend.1, Some(wrapper.location.prefix_or_id)))
302302
}
303303
}
304304
}

0 commit comments

Comments
 (0)