@@ -161,8 +161,7 @@ package "mw_log_fmt crate" {
161161 - spec : FormatSpec
162162 - _lifetime : PhantomData<&'a ()>
163163
164- +new_debug (value : &ScoreDebug , spec : FormatSpec ) : Self
165- +new_display (value : &ScoreDisplay , spec : FormatSpec ) : Self
164+ +new (value : &ScoreDebug , spec : FormatSpec ) : Self
166165
167166 +fmt (&self , f : &mut dyn ScoreWrite , spec : &FormatSpec ) : Result
168167 }
@@ -186,17 +185,11 @@ package "mw_log_fmt crate" {
186185 +fmt (&self , f : &mut dyn ScoreWrite , spec : &FormatSpec ) : Result
187186 }
188187
189- +interface ScoreDisplay <<trait >> {
190- +fmt (&self , f : &mut dyn ScoreWrite , spec : &FormatSpec ) : Result
191- }
192-
193- ' Placeholders are dependent on implementations provided by "Score*" traits.
188+ ' Placeholders are dependent on "ScoreDebug" trait implementations.
194189 Placeholder --> ScoreDebug
195- Placeholder --> ScoreDisplay
196190
197- ' All trait implementations rely on "ScoreWrite".
191+ ' Trait implementations rely on "ScoreWrite".
198192 ScoreDebug --> ScoreWrite
199- ScoreDisplay --> ScoreWrite
200193
201194 class mw_log_fmt <<module>> {
202195 + write(output: &mut dyn ScoreWrite, args: Arguments<'_>) : Result
0 commit comments