Closed ZuseZ4 closed 5 months ago
Thanks! Is this deliberately using x: &[&f64]
instead of x: &[f64]
? As written, I think the reverse will be unsound due to writing through an immutable reference.
No, it's just the last example I had used to develop the corresponding warning. If you add another example I will take that instead.
This doesn't introduce any new magic, but just supports self. Example:
with
df
being@jedbrown Feel free to make a pr with your own example against rustbook, then I can make sure that it passes CI.