Skip to content

Commit 6bee4f0

Browse files
committed
Make NonMovingSpace pub(crate)
We don't really need to expose it to the binding.
1 parent 1dbbfd4 commit 6bee4f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/policy/nonmovingspace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use super::space::{PlanCreateSpaceArgs, Space};
1010
/// A space implements this trait if it can be used as the non-moving space.
1111
///
1212
/// Methods of this trait should be called inste
13-
pub trait NonMovingSpace<VM: VMBinding>: Space<VM> {
13+
pub(crate) trait NonMovingSpace<VM: VMBinding>: Space<VM> {
1414
/// Call this instead of `new` to create the space as the non-moving space.
1515
fn new_nonmoving_space(args: PlanCreateSpaceArgs<VM>) -> Self;
1616
/// Call this instead of `prepare` when used as the non-moving space.

0 commit comments

Comments
 (0)