Skip to content

Commit

Permalink
deploy: d8b9a3b
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Jul 19, 2024
1 parent fcedcf1 commit ee3bd1e
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 @@ -685,7 +685,7 @@
<span class="macro">assert_eq!</span>(codec.class().codec_id()<span class="question-mark">?</span>, <span class="string">"crc32"</span>);

<span class="comment">// create a codec using the class
</span><span class="kw">let </span>codec = class.codec_from_config(config.as_borrowed())<span class="question-mark">?</span>;
</span><span class="kw">let </span>codec = class.codec_from_config(PyDict::new_bound(py).as_borrowed())<span class="question-mark">?</span>;

<span class="comment">// check the codec's config
</span><span class="kw">let </span>config = codec.get_config()<span class="question-mark">?</span>;
Expand Down

0 comments on commit ee3bd1e

Please sign in to comment.