Skip to content

Commit

Permalink
Fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Sep 6, 2024
1 parent 33d727a commit 7d16d68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nannou/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,8 @@ where

impl<M> Reflect for ModelHolder<M>
where
M: Reflect + DynamicTypePath + Any + GetTypeRegistration + 'static, {
M: Reflect + DynamicTypePath + Any + GetTypeRegistration + 'static,
{
fn into_any(self: Box<Self>) -> Box<dyn Any> {
Box::new(self.0).into_any()
}
Expand Down
2 changes: 1 addition & 1 deletion nannou_wgpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ pub use self::texture::{
format_size_bytes as texture_format_size_bytes, Builder as TextureBuilder, Texture, TextureId,
TextureView, TextureViewId, ToTextureView,
};
use wgpu::MemoryHints;
#[doc(inline)]
pub use wgpu::{
include_wgsl,
Expand Down Expand Up @@ -89,7 +90,6 @@ pub use wgpu::{
PUSH_CONSTANT_ALIGNMENT, QUERY_RESOLVE_BUFFER_ALIGNMENT, QUERY_SET_MAX_QUERIES, QUERY_SIZE,
VERTEX_STRIDE_ALIGNMENT,
};
use wgpu::MemoryHints;

/// The default power preference used for requesting the WGPU adapter.
pub const DEFAULT_POWER_PREFERENCE: PowerPreference = PowerPreference::HighPerformance;
Expand Down

0 comments on commit 7d16d68

Please sign in to comment.