Skip to content

Commit

Permalink
Fixed compile errors on stable compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob2309 committed Feb 9, 2022
1 parent 8c5dc7d commit 3da9cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gfx-maths"
version = "0.2.7"
version = "0.2.8"
authors = [ "Robin Quint" ]
edition = "2018"
description = "Implementations for the most essential Graphics Math operations"
Expand Down
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ macro_rules! swizzle_type {
macro_rules! swizzle {
($($members:ident),+) => {
paste::paste! {
#[doc(cfg(feature="swizzle"))] // make docs.rs more readable by showing the required feature
#[cfg_attr(doc, doc(cfg(feature="swizzle")))] // make docs.rs more readable by showing the required feature
pub fn [<$($members)+>](&self) -> swizzle_type!($($members),+) {
<swizzle_type!($($members),+)>::new(
$(self.$members),+
Expand Down

0 comments on commit 3da9cb8

Please sign in to comment.