Skip to content

Commit 41f1a9f

Browse files
committed
fixing format_tools
1 parent eb57dff commit 41f1a9f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

module/core/format_tools/tests/inc/tabe_foreign_test.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ fn iterator_over_optional_cow()
3333
#[ derive( Debug, Clone ) ]
3434
pub struct TestObjecWrap( TestObjectWithoutImpl );
3535

36-
// xxx : that should fail
3736
impl TableWithFields for TestObjecWrap {}
38-
3937
impl Fields< &'_ str, Option< Cow< '_, str > > >
4038
for TestObjecWrap
4139
{
@@ -45,13 +43,9 @@ fn iterator_over_optional_cow()
4543
fn fields( &self ) -> impl IteratorTrait< Item = ( &'_ str, Option< Cow< '_, str > > ) >
4644
{
4745
use format_tools::ref_or_display_or_debug_multiline::field;
48-
// use format_tools::ref_or_display_or_debug::field;
49-
let mut dst : Vec< ( &'_ str, Option< Cow< '_, str > > ) > = Vec::new();
46+
let mut dst = Vec::new();
5047

51-
// trace_macros!( true );
5248
dst.push( field!( &self.0.id ) );
53-
// trace_macros!( false );
54-
5549
dst.push( field!( &self.0.created_at ) );
5650
dst.push( field!( &self.0.file_ids ) );
5751

0 commit comments

Comments
 (0)