Whitespace

newfloat
Mark 2023-09-03 16:03:34 -07:00
parent b9cfe719a6
commit e1ba2a9c1f
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ pub use self::scalar::ScalarBase;
//
// input (s): a decimal of any length, like 123123.123123
// s may start with an optional `-` sign.
pub(in self) fn dec_to_sci(mut s: String) -> String {
pub(in self) fn dec_to_sci(mut s: String) -> String {
// Remove negative sign from string
let neg = s.starts_with("-");
if neg { s = String::from(&s[1..]); }