Skip to content

Commit

Permalink
Add an error ignore that I forgot to add before
Browse files Browse the repository at this point in the history
  • Loading branch information
CaspianA1 committed Jun 16, 2024
1 parent cf95d7b commit 5103e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard_defs/surprise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ pub fn make_surprise_window(
about the "resource temporarily unavailable" thing?) */
if let Some(Ok(stream)) = shared_info.surprise_stream_listener.next() {
let mut reader = BufReader::new(stream);
reader.read_line(&mut shared_info.surprise_stream_path_buffer)?;
let _ = reader.read_line(&mut shared_info.surprise_stream_path_buffer);

if let Some(matching_path) = shared_info.surprise_path_set.get(&shared_info.surprise_stream_path_buffer) {
let rc_cloned_matching_path = matching_path.clone();
Expand Down

0 comments on commit 5103e37

Please sign in to comment.