Skip to content

Commit

Permalink
core: Fix support for Rust 1.53.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdeljanov committed Jan 15, 2023
1 parent fcca325 commit b601fe6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions symphonia-core/src/sample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ impl Sample for f64 {
// Helper macros

macro_rules! shl_impl {
($t:path, $f:ty) => {
($t:ident, $f:ty) => {
impl core::ops::Shl<$f> for $t {
type Output = $t;

Expand All @@ -209,7 +209,7 @@ macro_rules! shl_impl {
}

macro_rules! shr_impl {
($t:path, $f:ty) => {
($t:ident, $f:ty) => {
impl core::ops::Shr<$f> for $t {
type Output = $t;

Expand All @@ -222,7 +222,7 @@ macro_rules! shr_impl {
}

macro_rules! impl_shifts {
($t:ty, $f:ty) => {
($t:ident, $f:ty) => {
shl_impl! { $t, $f }
shr_impl! { $t, $f }
};
Expand Down

0 comments on commit b601fe6

Please sign in to comment.