Skip to content

Commit fb23d7c

Browse files
committed
Fix compiler warnings
1 parent 448f1d4 commit fb23d7c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

vm/src/stdlib/contextvars.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ mod _contextvars {
1515
impl PyClassImpl for Context {
1616
const TP_FLAGS: crate::slots::PyTpFlags = crate::slots::PyTpFlags::DEFAULT;
1717

18-
fn impl_extend_class(ctx: &PyContext, class: &PyTypeRef) {
18+
fn impl_extend_class(_ctx: &PyContext, _class: &PyTypeRef) {
1919
// TODO: RUSTPYTHON
2020
}
2121

22-
fn extend_slots(slots: &mut PyTypeSlots) {
22+
fn extend_slots(_slots: &mut PyTypeSlots) {
2323
// TODO: RUSTPYTHON
2424
}
2525
}
@@ -32,11 +32,11 @@ mod _contextvars {
3232
impl PyClassImpl for ContextVar {
3333
const TP_FLAGS: crate::slots::PyTpFlags = crate::slots::PyTpFlags::DEFAULT;
3434

35-
fn impl_extend_class(ctx: &PyContext, class: &PyTypeRef) {
35+
fn impl_extend_class(_ctx: &PyContext, _class: &PyTypeRef) {
3636
// TODO: RUSTPYTHON
3737
}
3838

39-
fn extend_slots(slots: &mut PyTypeSlots) {
39+
fn extend_slots(_slots: &mut PyTypeSlots) {
4040
// TODO: RUSTPYTHON
4141
}
4242
}
@@ -49,11 +49,11 @@ mod _contextvars {
4949
impl PyClassImpl for ContextToken {
5050
const TP_FLAGS: crate::slots::PyTpFlags = crate::slots::PyTpFlags::DEFAULT;
5151

52-
fn impl_extend_class(ctx: &PyContext, class: &PyTypeRef) {
52+
fn impl_extend_class(_ctx: &PyContext, _class: &PyTypeRef) {
5353
// TODO: RUSTPYTHON
5454
}
5555

56-
fn extend_slots(slots: &mut PyTypeSlots) {
56+
fn extend_slots(_slots: &mut PyTypeSlots) {
5757
// TODO: RUSTPYTHON
5858
}
5959
}

0 commit comments

Comments
 (0)