new_york 0.1.1

Home of the dollar slice.
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 1.34 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.19 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • alilleybrinker

new_york

Home the dollar slice!

Example

use new_york::*;

// Choose your toppings.
#[derive(Debug, PartialEq, Eq)]
struct Pepperoni;

fn main() {
	// Get a slice for just one dollar!
	let dollar = Dollar;
	let slice: &[Pepperoni] = get_slice(dollar);
	assert_eq!(slice, &[]);
}