From db4b8b05ba96e597955a9c85ac0c4a921c9d4fe5 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 23 Mar 2020 12:27:12 +0100 Subject: [PATCH] library: shape: do not expose sub-modules --- src/shape/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shape/mod.rs b/src/shape/mod.rs index 7f799f6..c820dbd 100644 --- a/src/shape/mod.rs +++ b/src/shape/mod.rs @@ -37,8 +37,8 @@ impl Bounded for dyn Shape { } } -pub mod sphere; +mod sphere; pub use sphere::*; -pub mod triangle; +mod triangle; pub use triangle::*;