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 3b87ba8 commit 28e66bbCopy full SHA for 28e66bb
crates/numcodecs-python/src/lib.rs
@@ -317,7 +317,7 @@ mod tests {
317
318
// re-register the codec class under a custom name
319
let class = codec.class();
320
- Registry::register_codec(class, Some("my-crc32"))?;
+ Registry::register_codec(class.as_borrowed(), Some("my-crc32"))?;
321
config.set_item("id", "my-crc32")?;
322
323
// create a codec using registry lookup of the custom name
0 commit comments