Skip to content

Commit 5bc9884

Browse files
Update src/codecs/ico/decoder.rs
Co-authored-by: Jonathan Behrens <[email protected]>
1 parent 02ce7b2 commit 5bc9884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codecs/ico/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ fn read_entry<R: Read>(r: &mut R) -> ImageResult<DirEntry> {
195195
/// If two entries have the same color depth and size, pick the first one.
196196
/// While ICO files with multiple identical size and bpp entries are rare, they
197197
/// do exist. Since we can't make an educated guess which one is best, picking
198-
/// the first one is a sane default.
198+
/// the first one is a reasonable default.
199199
fn best_entry(entries: Vec<DirEntry>) -> ImageResult<DirEntry> {
200200
let mut best = *entries.first().ok_or(DecoderError::NoEntries)?;
201201
let mut best_score = (0, 0);

0 commit comments

Comments
 (0)