//! The one `unsafe` operation of the writer: mapping the output file.
//!
//! Kept in its own module so the `unsafe_code` allowance covers nothing else.
use MmapMut;
use File;
use io;
/// Maps the first `len` bytes of `file` writable and shared.
///
/// `len` must be non-zero and the file must already be at least `len` bytes
/// long (the caller has just called `set_len`).
pub