Skip to content

Commit 33c6868

Browse files
Remove implied IntoPyObject beside DictKey
Co-authored-by: Noah <33094578+coolreader18@users.noreply.github.com>
1 parent b305c8d commit 33c6868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/obj/objdict.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ impl PyDictRef {
473473

474474
impl<T> ItemProtocol<T> for PyDictRef
475475
where
476-
T: IntoPyObject + DictKey,
476+
T: DictKey,
477477
{
478478
fn get_item(&self, key: T, vm: &VirtualMachine) -> PyResult {
479479
self.as_object().get_item(key, vm)

0 commit comments

Comments
 (0)