Skip to content

Commit

Permalink
Don't #[allow(type_alias_bounds)].
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb authored Sep 18, 2018
1 parent 1d8b50e commit b0d7a88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hal/src/command/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ unsafe impl<'a, B: Backend, C, L: Level> Submittable<'a, B, C, L> for &'a Submit
}

/// A convenience alias for not typing out the full signature of a secondary command buffer.
#[allow(type_alias_bounds)]
pub type SecondaryCommandBuffer<'a, B: Backend, C, S: Shot = OneShot> = CommandBuffer<'a, B, C, S, Secondary>;
pub type SecondaryCommandBuffer<'a, B, C, S = OneShot> = CommandBuffer<'a, B, C, S, Secondary>;

/// A strongly-typed command buffer that will only implement methods that are valid for the operations
/// it supports.
Expand Down

0 comments on commit b0d7a88

Please sign in to comment.