mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
clippy: Fix needless_lifetimes warnings (#31933)
This commit is contained in:
parent
a8976ff00a
commit
4a68243f65
13 changed files with 32 additions and 32 deletions
|
@ -1575,7 +1575,7 @@ impl WebGLRenderingContext {
|
|||
constants::COLOR_ATTACHMENT0 <= attachment && attachment <= last_slot
|
||||
}
|
||||
|
||||
pub fn compressed_tex_image_2d<'a>(
|
||||
pub fn compressed_tex_image_2d(
|
||||
&self,
|
||||
target: u32,
|
||||
level: i32,
|
||||
|
@ -1583,7 +1583,7 @@ impl WebGLRenderingContext {
|
|||
width: i32,
|
||||
height: i32,
|
||||
border: i32,
|
||||
data: &'a [u8],
|
||||
data: &[u8],
|
||||
) {
|
||||
let validator = CompressedTexImage2DValidator::new(
|
||||
self,
|
||||
|
@ -1642,7 +1642,7 @@ impl WebGLRenderingContext {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn compressed_tex_sub_image_2d<'a>(
|
||||
pub fn compressed_tex_sub_image_2d(
|
||||
&self,
|
||||
target: u32,
|
||||
level: i32,
|
||||
|
@ -1651,7 +1651,7 @@ impl WebGLRenderingContext {
|
|||
width: i32,
|
||||
height: i32,
|
||||
format: u32,
|
||||
data: &'a [u8],
|
||||
data: &[u8],
|
||||
) {
|
||||
let validator = CompressedTexSubImage2DValidator::new(
|
||||
self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue