Remove spurious use of libstd from type name formatter

This commit is contained in:
David Tolnay 2021-12-07 13:08:44 -08:00
parent 60a790563c
commit eb5990843b
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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)