diff --git a/src/device_prober.rs b/src/device_prober.rs index f20b90e..1e8c1cf 100644 --- a/src/device_prober.rs +++ b/src/device_prober.rs @@ -134,9 +134,7 @@ impl PhysicalXRDevice { } } -/** -* Returns a Vec of tuples, each representing (vendor_id, product_id) -*/ +/// Returns a Vec of tuples, each representing (vendor_id, product_id) fn list_usb_devs() -> Vec<(u16, u16)> { let ctx = rusb::Context::new().expect("Failed to create libusb context"); let devs = ctx diff --git a/src/paths.rs b/src/paths.rs index 5f36620..5308b36 100644 --- a/src/paths.rs +++ b/src/paths.rs @@ -35,7 +35,7 @@ pub fn wivrn_apk_download_path() -> PathBuf { pub const SYSTEM_PREFIX: &str = "/usr"; -/** System prefix inside a bubblewrap environment (flatpak or pressure vessel) */ +/// System prefix inside a bubblewrap environment (flatpak or pressure vessel) pub const BWRAP_SYSTEM_PREFIX: &str = "/run/host/usr"; pub fn get_home_dir() -> PathBuf { diff --git a/src/profile.rs b/src/profile.rs index 2718f58..d99da0a 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -239,13 +239,13 @@ pub struct Profile { pub opencomposite_branch: Option, pub features: ProfileFeatures, pub environment: HashMap, - /** Install prefix */ + /// Install prefix pub prefix: PathBuf, pub can_be_built: bool, pub editable: bool, pub pull_on_build: bool, #[serde(default = "LighthouseDriver::default")] - /** Only applicable for Monado */ + /// Only applicable for Monado pub lighthouse_driver: LighthouseDriver, #[serde(default = "String::default")] pub xrservice_launch_options: String,