From 104cb944b91436b552a7a87095ebdbc17e22d073 Mon Sep 17 00:00:00 2001 From: Wanja Zaeske Date: Mon, 14 Feb 2022 13:55:16 +0100 Subject: [PATCH] fix #1073: typo in name of macros feature --- nalgebra-macros/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nalgebra-macros/src/lib.rs b/nalgebra-macros/src/lib.rs index 9a403e0d..4bd791ae 100644 --- a/nalgebra-macros/src/lib.rs +++ b/nalgebra-macros/src/lib.rs @@ -111,7 +111,7 @@ impl Parse for Matrix { /// Construct a fixed-size matrix directly from data. /// -/// **Note: Requires the `macro` feature to be enabled (enabled by default)**. +/// **Note: Requires the `macros` feature to be enabled (enabled by default)**. /// /// This macro facilitates easy construction of matrices when the entries of the matrix are known /// (either as constants or expressions). This macro produces an instance of `SMatrix`. This means @@ -164,7 +164,7 @@ pub fn matrix(stream: TokenStream) -> TokenStream { /// Construct a dynamic matrix directly from data. /// -/// **Note: Requires the `macro` feature to be enabled (enabled by default)**. +/// **Note: Requires the `macros` feature to be enabled (enabled by default)**. /// /// The syntax is exactly the same as for [`matrix!`], but instead of producing instances of /// `SMatrix`, it produces instances of `DMatrix`. At the moment it is not usable @@ -233,7 +233,7 @@ impl Parse for Vector { /// Construct a fixed-size column vector directly from data. /// -/// **Note: Requires the `macro` feature to be enabled (enabled by default)**. +/// **Note: Requires the `macros` feature to be enabled (enabled by default)**. /// /// Similarly to [`matrix!`], this macro facilitates easy construction of fixed-size vectors. /// However, whereas the [`matrix!`] macro expects each row to be separated by a semi-colon, @@ -265,7 +265,7 @@ pub fn vector(stream: TokenStream) -> TokenStream { /// Construct a dynamic column vector directly from data. /// -/// **Note: Requires the `macro` feature to be enabled (enabled by default)**. +/// **Note: Requires the `macros` feature to be enabled (enabled by default)**. /// /// The syntax is exactly the same as for [`vector!`], but instead of producing instances of /// `SVector`, it produces instances of `DVector`. At the moment it is not usable @@ -294,7 +294,7 @@ pub fn dvector(stream: TokenStream) -> TokenStream { /// Construct a fixed-size point directly from data. /// -/// **Note: Requires the `macro` feature to be enabled (enabled by default)**. +/// **Note: Requires the `macros` feature to be enabled (enabled by default)**. /// /// Similarly to [`vector!`], this macro facilitates easy construction of points. ///