Skip to content

Commit

Permalink
Fixed a macro hygiene issue
Browse files Browse the repository at this point in the history
  • Loading branch information
YohDeadfall committed Nov 15, 2024
1 parent 5e6609d commit b5532e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ macro_rules! encoding {
}

#[inline]
fn stage_by_value(&self, value: i64) -> ::std::option::Option<&Stage> {
fn stage_by_value(&self, value: i64) -> ::std::option::Option<&$crate::enc::Stage> {
Self::STAGES.binary_search_by(|stage|{
let result = stage.ordinal_min().cmp(&value);
if result.is_gt() {
Expand Down

0 comments on commit b5532e4

Please sign in to comment.