File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1328,7 +1328,7 @@ impl<T: ?Sized + fmt::Debug> fmt::Debug for Arc<T> {
13281328#[ stable( feature = "rust1" , since = "1.0.0" ) ]
13291329impl < T : ?Sized > fmt:: Pointer for Arc < T > {
13301330 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1331- fmt:: Pointer :: fmt ( & self . ptr , f)
1331+ fmt:: Pointer :: fmt ( & ( & * * self as * const T ) , f)
13321332 }
13331333}
13341334
Original file line number Diff line number Diff line change @@ -1072,7 +1072,7 @@ impl<T: ?Sized + fmt::Debug> fmt::Debug for Rc<T> {
10721072#[ stable( feature = "rust1" , since = "1.0.0" ) ]
10731073impl < T : ?Sized > fmt:: Pointer for Rc < T > {
10741074 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1075- fmt:: Pointer :: fmt ( & self . ptr , f)
1075+ fmt:: Pointer :: fmt ( & ( & * * self as * const T ) , f)
10761076 }
10771077}
10781078
You can’t perform that action at this time.
0 commit comments