Skip to content

Commit 60a9f3b

Browse files
committed
fmt
1 parent 5890c24 commit 60a9f3b

File tree

7 files changed

+7
-9
lines changed

7 files changed

+7
-9
lines changed

crates/bevy_asset/src/io/source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use bevy_ecs::resource::Resource;
1212
use bevy_platform::collections::HashMap;
1313
use core::{fmt::Display, hash::Hash, time::Duration};
1414
use thiserror::Error;
15-
use tracing::{error, warn};
15+
use tracing::warn;
1616

1717
use super::{ErasedAssetReader, ErasedAssetWriter};
1818

crates/bevy_ecs/src/schedule/schedule.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use core::{
1717
fmt::{Debug, Write},
1818
};
1919
use fixedbitset::FixedBitSet;
20-
use log::{error, info, warn};
20+
use log::{info, warn};
2121
use pass::ScheduleBuildPassObj;
2222
use thiserror::Error;
2323
#[cfg(feature = "trace")]

crates/bevy_image/src/dynamic_texture_atlas_builder.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use bevy_asset::RenderAssetUsages;
33
use bevy_math::{URect, UVec2};
44
use guillotiere::{size2, Allocation, AtlasAllocator};
55
use thiserror::Error;
6-
use tracing::error;
76

87
/// An error produced by [`DynamicTextureAtlasBuilder`] when trying to add a new
98
/// texture to a [`TextureAtlasLayout`].

crates/bevy_pbr/src/render/mesh.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ use bevy_render::{
4949
sync_world::MainEntityHashSet,
5050
texture::{DefaultImageSampler, GpuImage},
5151
view::{
52-
self, NoIndirectDrawing, RenderVisibilityRanges, RetainedViewEntity,
53-
ViewUniformOffset,
52+
self, NoIndirectDrawing, RenderVisibilityRanges, RetainedViewEntity, ViewUniformOffset,
5453
},
5554
Extract,
5655
};

crates/bevy_shader/src/shader_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use bevy_platform::collections::{hash_map::EntryRef, HashMap, HashSet};
55
use core::hash::Hash;
66
use naga::valid::Capabilities;
77
use thiserror::Error;
8-
use tracing::{debug, error};
8+
use tracing::debug;
99
use wgpu_types::{DownlevelFlags, Features};
1010

1111
/// Source of a shader module.

examples/2d/mesh2d_manual.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ use bevy::{
2323
BlendState, ColorTargetState, ColorWrites, CompareFunction, DepthBiasState,
2424
DepthStencilState, Face, FragmentState, MultisampleState, PipelineCache,
2525
PrimitiveState, PrimitiveTopology, RenderPipelineDescriptor, SpecializedRenderPipeline,
26-
SpecializedRenderPipelines, StencilFaceState, StencilState,
27-
VertexFormat, VertexState, VertexStepMode,
26+
SpecializedRenderPipelines, StencilFaceState, StencilState, VertexFormat, VertexState,
27+
VertexStepMode,
2828
},
2929
sync_component::SyncComponentPlugin,
3030
sync_world::{MainEntityHashMap, RenderEntity},

examples/3d/bloom_3d.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
//! Illustrates bloom post-processing using HDR and emissive materials.
22
3+
use bevy::render::render_resource::TextureFormat;
34
use bevy::{
45
camera::CameraMainTextureFormat,
56
core_pipeline::tonemapping::Tonemapping,
67
math::ops,
78
post_process::bloom::{Bloom, BloomCompositeMode},
89
prelude::*,
910
};
10-
use bevy_render::render_resource::TextureFormat;
1111
use std::{
1212
collections::hash_map::DefaultHasher,
1313
hash::{Hash, Hasher},

0 commit comments

Comments
 (0)