Add a doc comment explaining what convert_down() does
This commit is contained in:
		
							parent
							
								
									3e03ca7e4c
								
							
						
					
					
						commit
						6d9599551b
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -22,6 +22,7 @@ type Int = i64;
 | 
				
			||||||
type Flt = f64;
 | 
					type Flt = f64;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
trait Number: Debug + IsBool + IsChar + IsNumber + Value {
 | 
					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>>;
 | 
					    fn convert_down(&self) -> Option<Box<Number>>;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue