We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e39a3 commit fd1d7baCopy full SHA for fd1d7ba
1 file changed
src/object.rs
@@ -927,10 +927,10 @@ impl DecodeParms<'_> {
927
/// Defaults to 1.
928
pub fn colors(&mut self, colors: i32) -> &mut Self {
929
if colors <= 0 {
930
- panic!("`Columns` must be greater than 0");
+ panic!("`Colors` must be greater than 0");
931
}
932
933
- self.pair(Name(b"Columns"), colors);
+ self.pair(Name(b"Colors"), colors);
934
self
935
936
0 commit comments