Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace type alias with a 'use'. #223

Merged
merged 3 commits into from
Jul 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ pub mod utils;
mod real {
/// The scalar type used throughout this crate.
#[cfg(feature = "f64")]
pub type Real = f64;
pub use f64 as Real;
Vrixyz marked this conversation as resolved.
Show resolved Hide resolved

/// The scalar type used throughout this crate.
#[cfg(feature = "f32")]
pub type Real = f32;
pub use f32 as Real;
}

/// Compilation flags dependent aliases for mathematical types.
Expand Down