* Marijn Haverbeke: >> Uhm. How do you plan to deal with unmapping the file? > > Have an obj that represents the lifetime of the mapping, with a > destructor that unmaps it.
Yes, but vec[u8] would have to keep a reference to it, to prevent premature unmapping. Would that fit into the existing type system? _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
