From 5466c27f6f9a151ae7f5357cb663cc2580fbca15 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Fri, 31 Jan 2025 17:41:57 +0100 Subject: Finish the integration of `webxr` into the Cargo workspace (#35229) - Run `cargo fmt` on `webxr` and `webxr-api` - Fix clippy warnings in the existing `webxr` code - Integrate the new crates into the workspace - Expose `webxr` via the libservo API rather than requiring embedders to depend on it explicitly. Signed-off-by: Martin Robinson --- components/webxr/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'components/webxr/lib.rs') diff --git a/components/webxr/lib.rs b/components/webxr/lib.rs index ad731b92f07..862d8e9814e 100644 --- a/components/webxr/lib.rs +++ b/components/webxr/lib.rs @@ -14,8 +14,7 @@ pub mod headless; pub mod openxr; pub mod surfman_layer_manager; -pub use surfman_layer_manager::SurfmanGL; -pub use surfman_layer_manager::SurfmanLayerManager; +pub use surfman_layer_manager::{SurfmanGL, SurfmanLayerManager}; pub type MainThreadRegistry = webxr_api::MainThreadRegistry; pub type Discovery = Box>; -- cgit v1.2.3