This repository is a Rust Foundation experiment in ergonomic function overloading in Rust.
The experiment uses macros to improve the ergonomics of the splat Rust language experiment.
Technical details for the current stage of the experiment can be found on the Inside Rust blog.
Most of this code requires a recent nightly Rust compiler.
rustup update nightly
git clone https://github.com/rustfoundation/overloading-macros
cd overloading-macros
rustup override set nightly
cargo buildRun individual example binaries with:
cargo run --bin <filename>For example:
cargo run --bin multiple-args