We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf9386 commit b4074bfCopy full SHA for b4074bf
src/ownership.rs
@@ -33,7 +33,7 @@ use self::{
33
pub struct Ownership {
34
project: Arc<Project>,
35
}
36
-
+#[derive(Debug)]
37
pub struct FileOwner {
38
pub team: Team,
39
pub team_config_file_path: String,
src/project.rs
@@ -180,7 +180,7 @@ impl Project {
180
pub fn relative_path<'a>(&'a self, absolute_path: &'a Path) -> &'a Path {
181
absolute_path
182
.strip_prefix(&self.base_path)
183
- .expect("Could not generate relative path")
+ .expect(&format!("Could not generate relative path for {}", absolute_path.display()))
184
185
186
pub fn get_team(&self, name: &str) -> Option<Team> {
0 commit comments