diff options
Diffstat (limited to 'src/files.rs')
-rw-r--r-- | src/files.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.rs b/src/files.rs index 4bd0f45..03f0dc6 100644 --- a/src/files.rs +++ b/src/files.rs @@ -26,7 +26,7 @@ pub struct Files { impl Index<usize> for Files { type Output = File; - fn index(&self, pos: usize) -> &Self::Output { + fn index(&self, pos: usize) -> &File { &self.files[pos] } } |