[fractal] API: Use submodule for identifiers instead of the prelude



commit 313f5cf6c62a4a6fed09f6ee1a968f57fc133f7c
Author: Alejandro Domínguez <adomu net-c com>
Date:   Fri Feb 7 01:53:53 2020 +0100

    API: Use submodule for identifiers instead of the prelude

 fractal-matrix-api/src/lib.rs | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/fractal-matrix-api/src/lib.rs b/fractal-matrix-api/src/lib.rs
index 0999b0af..9b44521b 100644
--- a/fractal-matrix-api/src/lib.rs
+++ b/fractal-matrix-api/src/lib.rs
@@ -12,11 +12,7 @@ pub mod r0;
 mod serde;
 pub mod types;
 
-pub mod prelude {
-    pub use ruma_identifiers::DeviceId;
-    pub use ruma_identifiers::RoomAliasId;
-    pub use ruma_identifiers::RoomId;
-}
+pub use ruma_identifiers as identifiers;
 
 #[cfg(test)]
 mod tests {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]