We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bfeebe commit cfdefc6Copy full SHA for cfdefc6
src/input/input_field.rs
@@ -3,7 +3,7 @@ use std::marker::PhantomData;
3
use std::sync::Arc;
4
5
use crate::function::VerifyResult;
6
-use crate::ingredient::{fmt_index, Ingredient};
+use crate::ingredient::Ingredient;
7
use crate::input::{Configuration, IngredientImpl, Value};
8
use crate::table::memo::MemoTableTypes;
9
use crate::zalsa::IngredientIndex;
@@ -61,7 +61,13 @@ where
61
}
62
63
fn fmt_index(&self, index: crate::Id, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
64
- fmt_index(C::FIELD_DEBUG_NAMES[self.field_index], index, fmt)
+ write!(
65
+ fmt,
66
+ "{input}.{field}({id:?})",
67
+ input = C::DEBUG_NAME,
68
+ field = C::FIELD_DEBUG_NAMES[self.field_index],
69
+ id = index
70
+ )
71
72
73
fn debug_name(&self) -> &'static str {
0 commit comments