Skip to content

Commit 7cd3e5a

Browse files
committed
Move float and int builtins into submodules
1 parent 48cf390 commit 7cd3e5a

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed
File renamed without changes.

src/float.rs renamed to src/float/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use core::ops::*;
22
use core::num::One;
33

4+
pub mod add;
5+
46
/// Trait for some basic operations on floats
57
pub trait Float {
68
/// A uint of the same with as the float

src/int.rs renamed to src/int/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
pub mod mul;
2+
pub mod shift;
3+
pub mod udiv;
14

25
/// Trait for some basic operations on integers
36
pub trait Int {
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ pub mod float;
2727
#[cfg(target_arch = "arm")]
2828
pub mod arm;
2929

30-
pub mod add;
31-
pub mod udiv;
32-
pub mod mul;
33-
pub mod shift;
34-
3530
#[cfg(test)]
3631
mod qc;
3732

0 commit comments

Comments
 (0)