Skip to content

Commit

Permalink
Remove ARC
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaMaul committed Sep 25, 2024
1 parent e98b885 commit c2dbe78
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ pub mod name;
pub mod oid;
pub mod tsp;

use std::sync::Arc;

use pyo3::prelude::*;
use tsp::{RawTimeStampReq, RawTimeStampResp};

Expand All @@ -23,7 +21,7 @@ self_cell::self_cell!(

#[pyo3::pyclass]
pub struct TimeStampReq {
raw: Arc<OwnedTimeStamReq>,
raw: OwnedTimeStamReq,
}

#[pyo3::pymethods]
Expand All @@ -44,7 +42,7 @@ self_cell::self_cell!(

#[pyo3::pyclass]
pub struct TimeStampResp {
raw: Arc<OwnedTimeStamResp>,
raw: OwnedTimeStamResp,
}

#[pyo3::pymethods]
Expand Down

0 comments on commit c2dbe78

Please sign in to comment.