ci: fix clippy

-_-
This commit is contained in:
Alexander Medvedev 2026-02-03 23:51:53 +01:00
parent c4d724f2c1
commit cb6cb149bc

View File

@ -777,7 +777,7 @@ pub(crate) fn build() -> TokenStream {
impl FromResourceLocation for &'static Fluid {
fn from_resource_location(resource_location: &ResourceLocation) -> Option<Self> {
Fluid::from_registry_key(&resource_location.strip_prefix(resource_location).unwrap_or(resource_location))
Fluid::from_registry_key(resource_location.strip_prefix(resource_location).unwrap_or(resource_location))
}
}