mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-27 01:11:38 +00:00
Remove spurious use of libstd from type name formatter
This commit is contained in:
parent
60a790563c
commit
eb5990843b
@ -1,4 +1,4 @@
|
||||
use std::fmt::{self, Display};
|
||||
use core::fmt::{self, Display};
|
||||
|
||||
pub(crate) fn display(fmt: impl Fn(&mut fmt::Formatter) -> fmt::Result) -> impl Display {
|
||||
DisplayInvoke(fmt)
|
||||
|
Loading…
Reference in New Issue
Block a user