• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 use std::path::{Path, PathBuf};
2 
get(relative_to_workspace_root: impl AsRef<Path>) -> PathBuf3 pub fn get(relative_to_workspace_root: impl AsRef<Path>) -> PathBuf {
4     let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
5     assert!(path.pop());
6     path.push(relative_to_workspace_root);
7     path
8 }
9