Skip to content

Commit c0a60f3

Browse files
committed
Resolve checkstyle problem
1 parent d2a0ab2 commit c0a60f3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/shims/time.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,8 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
163163

164164
// FIXME: String de-duplication is needed so that we only allocate this string only once
165165
// even when there are multiple calls to this function.
166-
let tm_zone_ptr = this.alloc_os_str_as_c_str(
167-
&OsString::from(tm_zone),
168-
MiriMemoryKind::Machine.into(),
169-
)?;
166+
let tm_zone_ptr =
167+
this.alloc_os_str_as_c_str(&OsString::from(tm_zone), MiriMemoryKind::Machine.into())?;
170168

171169
this.write_pointer(tm_zone_ptr, &this.project_field_named(&result, "tm_zone")?)?;
172170
this.write_int_fields_named(

0 commit comments

Comments
 (0)