Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 425 Bytes

File metadata and controls

17 lines (13 loc) · 425 Bytes

Rust Function Overloading Examples

This repository contains examples of experimental function overloading in Rust.

Some of this code requires a recent nightly Rust compiler.

Quick Setup

rustup update nightly
git clone https://github.com/rustfoundation/overloading-examples
cd overloading-examples
rustup override set nightly
cargo run
cargo run --bin rust-hypot-overload
cargo run --bin tuple-reflection