File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ impl fmt::Display for ParseError {
5656 match self {
5757 ParseError :: Amount ( error) => write_err ! ( f, "invalid amount" ; error) ,
5858 ParseError :: Denomination ( error) => write_err ! ( f, "invalid denomination" ; error) ,
59- // We consider this to not be a source because it currently doesn't contain useful
60- // information
59+ // We consider this to not be a source because it currently doesn't contain useful info.
6160 ParseError :: MissingDenomination ( _) =>
6261 f. write_str ( "the input doesn't contain a denomination" ) ,
6362 }
@@ -70,8 +69,7 @@ impl std::error::Error for ParseError {
7069 match self {
7170 ParseError :: Amount ( error) => Some ( error) ,
7271 ParseError :: Denomination ( error) => Some ( error) ,
73- // We consider this to not be a source because it currently doesn't contain useful
74- // information
72+ // We consider this to not be a source because it currently doesn't contain useful info.
7573 ParseError :: MissingDenomination ( _) => None ,
7674 }
7775 }
You can’t perform that action at this time.
0 commit comments