Closed chitoyuu closed 1 year ago
Check whether the start of the variant name is equal to the end of the enum name and if so, don't repeat it. For example, ImageFormat::Rgb8 instead of ImageFormat::FormatRgb8.
ImageFormat::Rgb8
ImageFormat::FormatRgb8
Originally created during survey of commented code (#377). Actually it appears that this has already been fixed: Format::RGB8
Format::RGB8
Closing as already solved.
Check whether the start of the variant name is equal to the end of the enum name and if so, don't repeat it. For example,
ImageFormat::Rgb8
instead ofImageFormat::FormatRgb8
.