use-ink / ink-docs

Documentation portal for the ink! smart contract language.
https://use.ink
Creative Commons Zero v1.0 Universal
24 stars 72 forks source link

Update the prelude description in storing-values.md #262

Closed h4x3rotab closed 10 months ago

h4x3rotab commented 1 year ago

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.