Skip to content

Commit f466971

Browse files
arihant2mathyouknowone
authored andcommitted
clippy
Signed-off-by: Ashwin Naren <[email protected]>
1 parent 69b1a99 commit f466971

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vm/src/stdlib/time.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ mod decl {
179179
#[cfg(target_env = "msvc")]
180180
#[cfg(not(target_arch = "wasm32"))]
181181
#[pyattr]
182-
fn timezone() -> i32 {
182+
fn timezone(_vm: &VirtualMachine) -> i32 {
183183
let info = get_tz_info();
184184
// https://users.rust-lang.org/t/accessing-tzname-and-similar-constants-in-windows/125771/3
185185
(info.Bias + info.StandardBias) * 60
@@ -196,7 +196,7 @@ mod decl {
196196
#[cfg(target_env = "msvc")]
197197
#[cfg(not(target_arch = "wasm32"))]
198198
#[pyattr]
199-
fn daylight() -> i32 {
199+
fn daylight(_vm: &VirtualMachine) -> i32 {
200200
let info = get_tz_info();
201201
// https://users.rust-lang.org/t/accessing-tzname-and-similar-constants-in-windows/125771/3
202202
(info.StandardBias != info.DaylightBias) as i32

0 commit comments

Comments
 (0)