fix: box-pin large future in config init test to satisfy clippy
Config::load_or_init() produces a future >16KB, triggering clippy::large_futures. Wrap with Box::pin() as recommended.
This commit is contained in:
parent
fba15520dc
commit
a48e335be9
@ -10798,7 +10798,7 @@ default_model = "persisted-profile"
|
||||
let dispatch = tracing::Dispatch::new(subscriber);
|
||||
let guard = tracing::dispatcher::set_default(&dispatch);
|
||||
|
||||
let config = Config::load_or_init().await.unwrap();
|
||||
let config = Box::pin(Config::load_or_init()).await.unwrap();
|
||||
|
||||
drop(guard);
|
||||
let logs = capture.captured();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user