Created
November 11, 2016 21:06
-
-
Save CryZe/4aacab50f3e1c9248dc0224bfb864108 to your computer and use it in GitHub Desktop.
mutability bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fn rasterize_mesh<F>(mesh: &[Triangle<F>], domain: &Domain, builder: &Builder<F>) | |
| where F: Float + BaseFloat + FromPrimitive + Send | |
| { | |
| mesh.into_par_iter(); | |
| } | |
| error: cannot borrow immutable borrowed content `*mesh` as mutable | |
| --> src\voxelizer.rs:130:5 | |
| | | |
| 130 | mesh.into_par_iter(); | |
| | ^^^^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment