Skip to content

Commit

Permalink
deploy: 28e66bb
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Jul 19, 2024
1 parent 80f2ae4 commit fcedcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/numcodecs_python/lib.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@

<span class="comment">// re-register the codec class under a custom name
</span><span class="kw">let </span>class = codec.class();
Registry::register_codec(class, <span class="prelude-val">Some</span>(<span class="string">"my-crc32"</span>))<span class="question-mark">?</span>;
Registry::register_codec(class.as_borrowed(), <span class="prelude-val">Some</span>(<span class="string">"my-crc32"</span>))<span class="question-mark">?</span>;
config.set_item(<span class="string">"id"</span>, <span class="string">"my-crc32"</span>)<span class="question-mark">?</span>;

<span class="comment">// create a codec using registry lookup of the custom name
Expand Down

0 comments on commit fcedcf1

Please sign in to comment.