Skip to content

Commit bff8e3b

Browse files
committed
fix: remove redundant comment
1 parent 9aea492 commit bff8e3b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/serializers/config.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,10 @@ impl TimedeltaMode {
116116
Ok(d.to_string().into_py(py))
117117
}
118118
Self::SecondsFloat => {
119-
// convert to int via a py timedelta not duration since we know this this case the input would have
120-
// been a py timedelta
121119
let seconds: f64 = either_delta.total_seconds()?;
122120
Ok(seconds.into_py(py))
123121
}
124122
Self::MillisecondsFloat => {
125-
// convert to int via a py timedelta not duration since we know this this case the input would have
126-
// been a py timedelta
127123
let seconds: f64 = either_delta.total_seconds()?;
128124
let object: Bound<PyFloat> = PyFloat::new_bound(py, seconds * 1000.0);
129125
Ok(object.into_py(py))

0 commit comments

Comments
 (0)