From 298a27826605dbddd0acc7416ebd89a53114ab48 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sun, 08 Feb 2026 00:31:16 +0000 Subject: [PATCH] style: accidental dbg push --- --- a/crates/jrsonnet-evaluator/src/obj.rs +++ b/crates/jrsonnet-evaluator/src/obj.rs @@ -1,9 +1,13 @@ use std::{ - any::Any, cell::{Cell, RefCell}, collections::hash_map::Entry, fmt::{self, Debug}, hash::{Hash, Hasher} + any::Any, + cell::{Cell, RefCell}, + collections::hash_map::Entry, + fmt::{self, Debug}, + hash::{Hash, Hasher}, }; +use educe::Educe; use jrsonnet_gcmodule::{cc_dyn, Cc, Trace, Weak}; -use educe::Educe; use jrsonnet_interner::IStr; use jrsonnet_parser::{Span, Visibility}; use rustc_hash::{FxHashMap, FxHashSet}; @@ -14,8 +18,7 @@ error::{suggest_object_fields, ErrorKind::*}, function::{CallLocation, FuncVal}, gc::WithCapacityExt as _, - in_frame, - identity_hash, + identity_hash, in_frame, operator::evaluate_add_op, val::ArrValue, CcUnbound, MaybeUnbound, Result, Thunk, Unbound, Val, @@ -659,7 +662,6 @@ fn fields_visibility(&self) -> FxHashMap { let mut out = FxHashMap::default(); self.enum_fields(&mut |depth, index, name, visibility| { - dbg!(&name, visibility); let new_sort_key = FieldSortKey::new(depth, index); let entry = out.entry(name); let (visible, _) = entry.or_insert((true, new_sort_key)); @@ -709,8 +711,8 @@ return fields; } - let mut fields: Vec<_> = dbg!(self - .fields_visibility()) + let mut fields: Vec<_> = self + .fields_visibility() .into_iter() .filter(|(_, (visible, _))| include_hidden || *visible) .map(|(k, _)| k) --- a/crates/jrsonnet-evaluator/src/val.rs +++ b/crates/jrsonnet-evaluator/src/val.rs @@ -414,7 +414,7 @@ self.0 } pub(crate) fn truncate_for_bitwise(&self) -> Result { - if self.0 < MIN_SAFE_INTEGER || self.0 > dbg!(MAX_SAFE_INTEGER) { + if self.0 < MIN_SAFE_INTEGER || self.0 > MAX_SAFE_INTEGER { bail!("numberic value outside of safe integer range for bitwise operation"); } Ok(self.0 as i64) -- gitstuff