-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Form::state_mut() (see below) calls RC::get_mut_unchecked which is unsafe and nightly only. Unfortunately, it is not documented why this is necessary (and why Rc::get_mut() cannot be used instead). Changing this would allow us to remove the feature requirement. As a result, it would be possible to compile yew_form on stable Rust.
Lines 24 to 28 in afd25ef
| pub(crate) fn state_mut(&mut self) -> &mut FormState<T> { | |
| unsafe { | |
| Rc::get_mut_unchecked(&mut self.state) | |
| } | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels