Add a doc comment explaining what convert_down() does

This commit is contained in:
Eryn Wells 2017-04-09 15:59:53 -07:00
parent 3e03ca7e4c
commit 6d9599551b

View file

@ -22,6 +22,7 @@ type Int = i64;
type Flt = f64;
trait Number: Debug + IsBool + IsChar + IsNumber + Value {
/// Convert a Number to the next lowest type in Scheme's number pyramid, if possible.
fn convert_down(&self) -> Option<Box<Number>>;
}