Skip to content

Commit

Permalink
fourth I guess? ?Sized
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa committed Mar 17, 2024
1 parent 46c9f29 commit 412594b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extendr-api/src/robj/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ pub use operators::*;
pub use rinternals::Rinternals;

#[derive(Debug)]
pub struct RobjRef<'a, T>(pub &'a T);
pub struct RobjRef<'a, T: ?Sized>(pub &'a T);

#[derive(Debug)]
pub struct RobjMut<'a, T>(pub &'a mut T);
pub struct RobjMut<'a, T: ?Sized>(pub &'a mut T);

/// Wrapper for an R S-expression pointer (SEXP).
///
Expand Down Expand Up @@ -806,7 +806,7 @@ where
///
/// [`SEXP`]: libR_sys::SEXP
/// Marker for the R object modes / types represented as a value.
trait SexpAsPtr: Sized {
pub(crate) trait SexpAsPtr: Sized {
/// See [`Rtype`] for reference.
const R_TYPE_ID: u32;
/// Corresponding rust type to the type in C (in R's C-API)
Expand Down

0 comments on commit 412594b

Please sign in to comment.