chore: use triple slash for docstrings

This commit is contained in:
Gabriele Musco 2024-08-11 09:31:12 +02:00
parent aa4de57094
commit e486d36084
3 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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 {

View file

@ -239,13 +239,13 @@ pub struct Profile {
pub opencomposite_branch: Option<String>,
pub features: ProfileFeatures,
pub environment: HashMap<String, String>,
/** 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,