apply clippy changes

This commit is contained in:
Chance 2024-12-06 16:57:52 -05:00 committed by BitSyndicate
parent 382f3c1ef2
commit 2585ae3383
Signed by: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
6 changed files with 12 additions and 6 deletions

View file

@ -80,7 +80,7 @@ impl<'window> WgpuCtx<'window> {
.device
.create_command_encoder(&wgpu::CommandEncoderDescriptor { label: None });
{
let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor {
let rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor {
label: None,
color_attachments: &[Some(wgpu::RenderPassColorAttachment {
view: &view,

View file

@ -4,7 +4,7 @@ use lazy_static::lazy_static;
use parking_lot::Mutex;
use super::COMMAND_LIST;
use crate::core::repl::repl::evaluate_command;
use crate::core::repl::exec::evaluate_command;
const MAX_RECURSION_DEPTH: usize = 500; // increasing this value WILL cause a stack overflow. attempt at your own risk -
// Caz

View file

@ -1,5 +1,5 @@
pub mod commands;
pub mod repl;
pub mod exec;
use std::{borrow::Borrow, collections::HashMap, sync::Arc};