/pascals-triangle

My solution to the Exercism.org "Pascal's Triangle" exercise.

Primary LanguageRust

Pascal's Triangle

This library provides a struct which can be used to calculate Pascal's Triangle to any depth. It is my solution to the Exercism.org "Pascal's Triangle" exercise.

Usage

See tests for usage examples, use cargo test to run tests.

Concepts reviewed

  • Ownership rules
  • .into_iter()
  • .chain()