quartiq / miniconf

Rust serialize/deserialize/access reflection for trees (no_std, no alloc)
MIT License
25 stars 3 forks source link

Update documentation around `handled_update` #93

Closed ryan-summers closed 5 months ago

ryan-summers commented 2 years ago

Currently handled_update's examples seem to indicate that the user is responsible for copying the new settings into the current settings, but this isn't explicitly stated anywhere.

Update documentation to make it clear that the new settings must be copied to the old.

Alternatively, if the handler provides an Ok() result, we could perform this copy automatically internally.

jordens commented 5 months ago

superseded by #198 and #199