(s: String)
| 108 | } |
| 109 | |
| 110 | fn remove_trailing_zeros(s: String) -> String { |
| 111 | let mut s = s; |
| 112 | while s.ends_with('0') { |
| 113 | s.pop(); |
| 114 | } |
| 115 | s |
| 116 | } |
| 117 | |
| 118 | fn remove_trailing_decimal_point(s: String) -> String { |
| 119 | let mut s = s; |
no test coverage detected