Skip to content

Commit 194bccb

Browse files
Update deprecation version in ScopedProtocol::interface
The replacement for accessing this field (Deref/DerefMut on ScopedProtocol) isn't part of 0.16.0, so it isn't correct to mark the field deprecated in that version. Bump to 0.17.0, which should be the next version of uefi. Fixes #484
1 parent bfa88e1 commit 194bccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/table/boot.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ pub struct OpenProtocolParams {
13961396
/// protocol and why [`UnsafeCell`] is used.
13971397
pub struct ScopedProtocol<'a, P: Protocol + ?Sized> {
13981398
/// The protocol interface.
1399-
#[deprecated(since = "0.16.0", note = "use Deref and DerefMut instead")]
1399+
#[deprecated(since = "0.17.0", note = "use Deref and DerefMut instead")]
14001400
pub interface: &'a UnsafeCell<P>,
14011401

14021402
open_params: OpenProtocolParams,

0 commit comments

Comments
 (0)