Removed useless comments; better err msg
@@ -39,9 +39,7 @@ impl WatchedBitField {
.ok_or("Cannot obtain the serialized data")?
.to_string();
- // in case of an previous empty array, this will be 0
- // We can shift the bitmap in any direction, as long as we can find the anchor video
- let anchor_length = components.pop().expect("No field").parse::<i32>().map_err(|e| e.to_string())?;
+ let anchor_length = components.pop().expect("No length field").parse::<i32>().map_err(|e| e.to_string())?;
let anchor_video_id = components.join(":");
// We can shift the bitmap in any direction, as long as we can find the anchor video
