diff options
Diffstat (limited to 'src/image.rs')
| -rw-r--r-- | src/image.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/image.rs b/src/image.rs index 24a0deec..87c093d3 100644 --- a/src/image.rs +++ b/src/image.rs @@ -48,7 +48,8 @@ impl ImageStore { } } - /// Load and decode an image file from a path. + /// Load and decode an image file from a path relative to the compilation + /// environment's root. pub fn load(&mut self, path: &Path) -> io::Result<ImageId> { let hash = self.loader.resolve(path)?; Ok(*match self.files.entry(hash) { |
