From aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4 Mon Sep 17 00:00:00 2001 From: Samson <16504129+sagudev@users.noreply.github.com> Date: Mon, 11 Sep 2023 21:16:54 +0200 Subject: Strict import formatting (grouping and granularity) (#30325) * strict imports formatting * Reformat all imports --- components/script/dom/webglsampler.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'components/script/dom/webglsampler.rs') diff --git a/components/script/dom/webglsampler.rs b/components/script/dom/webglsampler.rs index ec68328fab9..37147d3d261 100644 --- a/components/script/dom/webglsampler.rs +++ b/components/script/dom/webglsampler.rs @@ -2,16 +2,18 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +use std::cell::Cell; + +use canvas_traits::webgl::WebGLError::*; +use canvas_traits::webgl::{webgl_channel, WebGLCommand, WebGLSamplerId}; +use dom_struct::dom_struct; + use crate::dom::bindings::codegen::Bindings::WebGL2RenderingContextBinding::WebGL2RenderingContextConstants as constants; use crate::dom::bindings::inheritance::Castable; use crate::dom::bindings::reflector::{reflect_dom_object, DomObject}; use crate::dom::bindings::root::DomRoot; use crate::dom::webglobject::WebGLObject; use crate::dom::webglrenderingcontext::{Operation, WebGLRenderingContext}; -use canvas_traits::webgl::WebGLError::*; -use canvas_traits::webgl::{webgl_channel, WebGLCommand, WebGLSamplerId}; -use dom_struct::dom_struct; -use std::cell::Cell; #[dom_struct] pub struct WebGLSampler { -- cgit v1.2.3