The code to go along with blog post on creating a arithmetic system for units of length in Rust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Rust Length Arithmetic Example

This repo holds the code related to my article on creating an arithmetic system for lengths in Rust to guarantee safety and correctness of computation along with clean code without adding overhead. To read the article please visit:

This code was tested on Rustc 1.15.1 stable.

To run this code do: