mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 16:51:03 +00:00
fix doc and dyn (#8631)
This commit is contained in:
committed by
GitHub
parent
4dcbac4b58
commit
bb343c7c26
@@ -312,7 +312,7 @@ pub trait ExternalitiesExt {
|
||||
|
||||
impl ExternalitiesExt for &mut dyn Externalities {
|
||||
fn extension<T: Any + Extension>(&mut self) -> Option<&mut T> {
|
||||
self.extension_by_type_id(TypeId::of::<T>()).and_then(Any::downcast_mut)
|
||||
self.extension_by_type_id(TypeId::of::<T>()).and_then(<dyn Any>::downcast_mut)
|
||||
}
|
||||
|
||||
fn register_extension<T: Extension>(&mut self, ext: T) -> Result<(), Error> {
|
||||
|
||||
Reference in New Issue
Block a user