bmap 0.2.2

A bitmap with an internal counter.
Documentation
use std::fmt;

#[derive(Debug)]
pub enum Error {
  OutOfBounds
}

impl std::error::Error for Error {}

impl fmt::Display for Error {
  fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
    match self {
      Error::OutOfBounds => {
        write!(f, "Out of bounds")
      }
    }
  }
}

// vim: set ft=rust et sw=2 ts=2 sts=2 cinoptions=2 tw=79 :