Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Nov 16, 2017
1 parent f68cba9 commit d601f22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@
cast_possible_truncation, cast_precision_loss,
shadow_reuse, cyclomatic_complexity, similar_names,
doc_markdown, many_single_char_names))]

#![cfg_attr(feature="nostd", no_std)]
#![cfg_attr(feature = "nostd", no_std)]

#[cfg(feature = "nostd")]
extern crate core as std;
Expand Down
8 changes: 4 additions & 4 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ macro_rules! test_arithmetic_ {

#[cfg(test)]
#[macro_export]
macro_rules! test_neg_ {
macro_rules! test_neg_ {
($tn:ident, $zero:expr, $one:expr, $two:expr, $four:expr) => {
{
let z = $tn::splat($zero);
Expand Down Expand Up @@ -573,7 +573,7 @@ macro_rules! test_bit_arithmetic_ {

#[cfg(test)]
#[macro_export]
macro_rules! test_ops_si {
macro_rules! test_ops_si {
($($tn:ident),+) => {
$(
test_arithmetic_!($tn, 0, 1, 2, 4);
Expand All @@ -585,7 +585,7 @@ macro_rules! test_bit_arithmetic_ {

#[cfg(test)]
#[macro_export]
macro_rules! test_ops_ui {
macro_rules! test_ops_ui {
($($tn:ident),+) => {
$(
test_arithmetic_!($tn, 0, 1, 2, 4);
Expand All @@ -596,7 +596,7 @@ macro_rules! test_bit_arithmetic_ {

#[cfg(test)]
#[macro_export]
macro_rules! test_ops_f {
macro_rules! test_ops_f {
($($tn:ident),+) => {
$(
test_arithmetic_!($tn, 0., 1., 2., 4.);
Expand Down
2 changes: 1 addition & 1 deletion src/x86/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ pub enum c_void {
}

#[cfg(not(feature = "nostd"))]
use std::os::raw::c_void as c_void;
use std::os::raw::c_void;

0 comments on commit d601f22

Please sign in to comment.