Skip to content

Commit

Permalink
docs: update guess_stream field name in comments
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Oct 23, 2023
1 parent 369febc commit 3ee8b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/meta_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ fn library_item_sync(library_item: &Option<LibraryItem>, profile: &Profile) -> E
}
}

/// If `Selected::stream_override` is `true` then we will override the selected stream
/// If `Selected::guess_stream` is `true` then we will override the selected stream
/// no matter if it's set (`Some`) or not (`None`).
///
/// How we override the stream:
Expand Down Expand Up @@ -282,7 +282,7 @@ fn selected_guess_stream_update(
id: video_id,
extra: vec![],
}),
// we must set the stream_override to false after we've overridden it
// we must set the `guess_stream` to `false` after we've overridden it
// to make it consistent
guess_stream: false,
}),
Expand Down

0 comments on commit 3ee8b34

Please sign in to comment.