Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 915dcbd

Browse files
committedJan 29, 2018
Mark debug impl of numbers as inlineable
It just forwards to Display
1 parent 385ef15 commit 915dcbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/libcore/fmt/num.rs

+1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ macro_rules! debug {
157157
($T:ident) => {
158158
#[stable(feature = "rust1", since = "1.0.0")]
159159
impl fmt::Debug for $T {
160+
#[inline]
160161
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
161162
fmt::Display::fmt(self, f)
162163
}

0 commit comments

Comments
 (0)
Please sign in to comment.