Skip to content

Commit 4c5f488

Browse files
committed
Fixes clippy
1 parent 317728a commit 4c5f488

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,12 @@ Keep in mind that you need to put everything your test needed in the same functi
196196
### 0.1 to 0.2
197197

198198
- `Path` is changed from sized type to unsized type. Any code that cast `Path` to a raw pointer need
199-
to update otherwise you will got a fat pointer, which is Rust specific. You can get a pointer to
199+
to update otherwise you will get a fat pointer, which is Rust specific. You can get a pointer to
200200
`EFI_DEVICE_PATH_PROTOCOL` via `Path::as_bytes()`.
201201
- `FileInfo` is changed from sized type to unsized type in the same way as `Path`.
202202
- `File::info()` now return `Box<FileInfo>` instead of `Owned<FileInfo>` when success.
203203
- The second parameter of `Owned::new()` is changed to `Dtor`.
204204

205-
## Example Projects
206-
207-
- [TCG Boot](https://github.com/ultimaweapon/tcg-boot)
208-
209205
## License
210206

211207
MIT

src/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub enum PathNode<'a> {
164164
MediaFilePath(&'a EfiStr),
165165
}
166166

167-
impl<'a> Display for PathNode<'a> {
167+
impl Display for PathNode<'_> {
168168
fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result {
169169
match self {
170170
PathNode::MediaFilePath(p) => p.fmt(f),

0 commit comments

Comments
 (0)