Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AZWN committed May 29, 2024
1 parent b7c235a commit b695dc9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scopegraphs/src/completeness/drop.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
use super::ExplicitClose;

/// Completeness implementation that leverages the [Drop] trait to close edges.
#[derive(Debug, Default)]
pub struct DropClose<LABEL> {
explicit_close: ExplicitClose<LABEL>,
}

impl<LABEL> Sealed for DropClose<LABEL> {}

Check failure on line 9 in scopegraphs/src/completeness/drop.rs

View workflow job for this annotation

GitHub Actions / clippy

cannot find trait `Sealed` in this scope

error[E0405]: cannot find trait `Sealed` in this scope --> scopegraphs/src/completeness/drop.rs:9:13 | 9 | impl<LABEL> Sealed for DropClose<LABEL> {} | ^^^^^^ not found in this scope | help: consider importing this trait through its public re-export | 1 + use crate::completeness::Sealed; |
2 changes: 2 additions & 0 deletions scopegraphs/src/completeness/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ mod implicit;
pub use implicit::*;
mod unchecked;
pub use unchecked::*;
mod drop;
pub use drop::*;

mod private {
pub trait Sealed {}
Expand Down

0 comments on commit b695dc9

Please sign in to comment.