Skip to content

Commit

Permalink
TODO: revert me; stub docs to get build to compile without warnings f…
Browse files Browse the repository at this point in the history
…or CI dry run
  • Loading branch information
lopopolo committed Jun 15, 2021
1 parent ac32daf commit 009bf34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adopt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub unsafe trait Adopt: sealed::Sealed {
/// The smart pointer's inner owned value.
type Inner;

/// TODO: document me!
fn adopt(this: &mut Self, other: &Self)
where
Self::Inner: Trace;
Expand Down Expand Up @@ -90,6 +91,7 @@ unsafe impl<T> Adopt for Rc<T> {
/// `T`.
type Inner = T;

/// TODO: document me!
fn adopt(this: &mut Self, other: &Self)
where
Self::Inner: Trace,
Expand Down
2 changes: 2 additions & 0 deletions src/trace.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
use crate::rc::Rc;

/// TODO: document me!
pub trait Trace: Sized {
/// TODO: document me!
fn yield_owned_rcs<F>(&self, mark: F)
where
F: for<'a> FnMut(&'a mut Rc<Self>);
Expand Down

0 comments on commit 009bf34

Please sign in to comment.