[#1] Fixed the use std feature build for Rust 2021.

This will bring the library into compliance with the new Rust
2021 version.

This was a simple change of how trait objects are done.
This commit is contained in:
2025-03-02 18:31:34 -05:00
parent 45efdb8ccb
commit b1211287e8
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ impl TestLogger
}
#[cfg(feature="use_std")]
fn set_logger() -> Box<Logger>
fn set_logger() -> Box<dyn Logger>
{
let logger: TestLogger;