Fix majority of unresolved documentation links
This commit is contained in:
parent
89d9c45d25
commit
89d9f1d7d2
40 changed files with 117 additions and 137 deletions
|
|
@ -10,7 +10,7 @@ use std::path::Path;
|
|||
|
||||
/// Creates an icon from an image file.
|
||||
///
|
||||
/// This will return an error in case the file is missing at run-time. You may prefer [`Self::from_file_data`] instead.
|
||||
/// This will return an error in case the file is missing at run-time. You may prefer [`from_file_data`] instead.
|
||||
#[cfg(feature = "image")]
|
||||
pub fn from_file<P: AsRef<Path>>(icon_path: P) -> Result<Icon, Error> {
|
||||
let icon = image::io::Reader::open(icon_path)?.decode()?.to_rgba8();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue