fix clippy

This commit is contained in:
Matthieu Baumann
2025-08-28 16:04:11 +02:00
parent e66ddc557e
commit 5c70d0211c
4 changed files with 4 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ impl Texture3D {
self.gl.generate_mipmap(WebGlRenderingCtx::TEXTURE_3D);
}
pub fn bind(&self) -> Texture3DBound {
pub fn bind(&self) -> Texture3DBound<'_> {
self.gl
.bind_texture(WebGlRenderingCtx::TEXTURE_3D, self.texture.as_ref());

View File

@@ -70,7 +70,7 @@ impl Texture2DArray {
self.gl.generate_mipmap(WebGlRenderingCtx::TEXTURE_2D_ARRAY);
}
pub fn bind(&self) -> Texture2DArrayBound {
pub fn bind(&self) -> Texture2DArrayBound<'_> {
self.gl
.bind_texture(WebGlRenderingCtx::TEXTURE_2D_ARRAY, self.texture.as_ref());

View File

@@ -295,7 +295,7 @@ impl Texture2D {
self
}
pub fn bind(&self) -> Texture2DBound {
pub fn bind(&self) -> Texture2DBound<'_> {
self.gl
.bind_texture(WebGlRenderingCtx::TEXTURE_2D, self.texture.as_ref());

View File

@@ -196,7 +196,7 @@ export class Location extends DOMElement {
ALEvent.FRAME_CHANGED.listenedBy(aladin.aladinDiv, function (e) {
let [ra, dec] = aladin.getRaDec();
let frame = e.detail.cooFrame;
let frame = aladin.getFrame();
self.update({
ra, dec,