File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171) ]
7272#![ cfg_attr( docsrs, feature( doc_cfg, doc_auto_cfg) ) ]
7373#![ deny( missing_docs, rust_2018_idioms, unsafe_code) ]
74+ #![ allow( clippy:: result_large_err) ]
7475
7576// Re-exports to make this a potential one-stop shop crate avoiding people from having to reference various crates themselves.
7677// This also means that their major version changes affect our major version, but that's alright as we directly expose their
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ pub mod pretty {
102102 reverse_lines : bool ,
103103 progress : & gix:: progress:: prodash:: tree:: Root ,
104104 ) -> anyhow:: Result < ( ) > {
105- Ok ( if enable {
105+ if enable {
106106 let processor = tracing_forest:: Printer :: new ( ) . formatter ( {
107107 let progress = std:: sync:: Mutex :: new ( progress. add_child ( "tracing" ) ) ;
108108 move |tree : & tracing_forest:: tree:: Tree | -> Result < String , std:: fmt:: Error > {
@@ -127,7 +127,8 @@ pub mod pretty {
127127 tracing:: subscriber:: set_global_default ( subscriber) ?;
128128 } else {
129129 tracing:: subscriber:: set_global_default ( tracing_subscriber:: Registry :: default ( ) ) ?;
130- } )
130+ }
131+ Ok ( ( ) )
131132 }
132133
133134 #[ cfg( not( feature = "small" ) ) ]
You can’t perform that action at this time.
0 commit comments