The prelude is basically an re-export of the existing rust types in std and no_std environments. The old doc was misleading because it implied the types were created specifically for ink, not an re-export of the standard rust types. This PR address the underlying mechanism, and also suggests that the types are interchangeable with the standard types.
The prelude is basically an re-export of the existing rust types in
std
andno_std
environments. The old doc was misleading because it implied the types were created specifically for ink, not an re-export of the standard rust types. This PR address the underlying mechanism, and also suggests that the types are interchangeable with the standard types.