Skip to content

Commit

Permalink
into -> to
Browse files Browse the repository at this point in the history
  • Loading branch information
realFlowControl committed Dec 12, 2024
1 parent 1be91fd commit f013c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiling/src/timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ unsafe extern "C" fn ddog_php_prof_zend_error_observer(
#[cfg(not(zend_error_observer_80))]
let filename_str = unsafe { zai_str_from_zstr(file.as_mut()) };

let filename = filename_str.into_string_lossy().into_owned();
let filename = filename_str.to_string_lossy().into_owned();

let now = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
if let Some(profiler) = Profiler::get() {
Expand Down

0 comments on commit f013c40

Please sign in to comment.