diff --git a/README.md b/README.md index 9d618ea..41361b3 100644 --- a/README.md +++ b/README.md @@ -196,16 +196,12 @@ Keep in mind that you need to put everything your test needed in the same functi ### 0.1 to 0.2 - `Path` is changed from sized type to unsized type. Any code that cast `Path` to a raw pointer need - to update otherwise you will got a fat pointer, which is Rust specific. You can get a pointer to + to update otherwise you will get a fat pointer, which is Rust specific. You can get a pointer to `EFI_DEVICE_PATH_PROTOCOL` via `Path::as_bytes()`. - `FileInfo` is changed from sized type to unsized type in the same way as `Path`. - `File::info()` now return `Box` instead of `Owned` when success. - The second parameter of `Owned::new()` is changed to `Dtor`. -## Example Projects - -- [TCG Boot](https://github.com/ultimaweapon/tcg-boot) - ## License MIT diff --git a/src/path.rs b/src/path.rs index ecc1418..a613895 100644 --- a/src/path.rs +++ b/src/path.rs @@ -164,7 +164,7 @@ pub enum PathNode<'a> { MediaFilePath(&'a EfiStr), } -impl<'a> Display for PathNode<'a> { +impl Display for PathNode<'_> { fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { match self { PathNode::MediaFilePath(p) => p.fmt(f),