aboutsummaryrefslogtreecommitdiffstats
path: root/components/webvr_traits/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-11-01 21:43:04 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-11-08 09:28:00 +0100
commit2012be4a8bd97f2fd69f986c8fffb1af1eec21dc (patch)
treec9f1ef91146253f72987cb1436866523880965e0 /components/webvr_traits/lib.rs
parentb1fd6237d1304f3d57abdafd3e6e738c1ece9f83 (diff)
downloadservo-2012be4a8bd97f2fd69f986c8fffb1af1eec21dc.tar.gz
servo-2012be4a8bd97f2fd69f986c8fffb1af1eec21dc.zip
`cargo fix --edition-idioms`
Diffstat (limited to 'components/webvr_traits/lib.rs')
-rw-r--r--components/webvr_traits/lib.rs38
1 files changed, 18 insertions, 20 deletions
diff --git a/components/webvr_traits/lib.rs b/components/webvr_traits/lib.rs
index d1d33111eb0..299e7090fc3 100644
--- a/components/webvr_traits/lib.rs
+++ b/components/webvr_traits/lib.rs
@@ -4,29 +4,27 @@
#![deny(unsafe_code)]
-extern crate ipc_channel;
-extern crate msg;
#[macro_use]
extern crate serde;
-pub extern crate rust_webvr_api as webvr;
mod webvr_traits;
-pub use crate::webvr::VRDisplayCapabilities as WebVRDisplayCapabilities;
-pub use crate::webvr::VRDisplayData as WebVRDisplayData;
-pub use crate::webvr::VRDisplayEvent as WebVRDisplayEvent;
-pub use crate::webvr::VRDisplayEventReason as WebVRDisplayEventReason;
-pub use crate::webvr::VREvent as WebVREvent;
-pub use crate::webvr::VREye as WebVREye;
-pub use crate::webvr::VREyeParameters as WebVREyeParameters;
-pub use crate::webvr::VRFieldOfView as WebVRFieldOfView;
-pub use crate::webvr::VRFrameData as WebVRFrameData;
-pub use crate::webvr::VRGamepadButton as WebVRGamepadButton;
-pub use crate::webvr::VRGamepadData as WebVRGamepadData;
-pub use crate::webvr::VRGamepadEvent as WebVRGamepadEvent;
-pub use crate::webvr::VRGamepadHand as WebVRGamepadHand;
-pub use crate::webvr::VRGamepadState as WebVRGamepadState;
-pub use crate::webvr::VRLayer as WebVRLayer;
-pub use crate::webvr::VRPose as WebVRPose;
-pub use crate::webvr::VRStageParameters as WebVRStageParameters;
pub use crate::webvr_traits::{WebVRMsg, WebVRResult};
+pub use rust_webvr_api as webvr;
+pub use rust_webvr_api::VRDisplayCapabilities as WebVRDisplayCapabilities;
+pub use rust_webvr_api::VRDisplayData as WebVRDisplayData;
+pub use rust_webvr_api::VRDisplayEvent as WebVRDisplayEvent;
+pub use rust_webvr_api::VRDisplayEventReason as WebVRDisplayEventReason;
+pub use rust_webvr_api::VREvent as WebVREvent;
+pub use rust_webvr_api::VREye as WebVREye;
+pub use rust_webvr_api::VREyeParameters as WebVREyeParameters;
+pub use rust_webvr_api::VRFieldOfView as WebVRFieldOfView;
+pub use rust_webvr_api::VRFrameData as WebVRFrameData;
+pub use rust_webvr_api::VRGamepadButton as WebVRGamepadButton;
+pub use rust_webvr_api::VRGamepadData as WebVRGamepadData;
+pub use rust_webvr_api::VRGamepadEvent as WebVRGamepadEvent;
+pub use rust_webvr_api::VRGamepadHand as WebVRGamepadHand;
+pub use rust_webvr_api::VRGamepadState as WebVRGamepadState;
+pub use rust_webvr_api::VRLayer as WebVRLayer;
+pub use rust_webvr_api::VRPose as WebVRPose;
+pub use rust_webvr_api::VRStageParameters as WebVRStageParameters;