Skip to content

Commit e5b94fa

Browse files
sangbidachuksys
authored andcommitted
sim_node/feat: Add a default implementation for DefaultPathFinder
1 parent 8c43804 commit e5b94fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

simln-lib/src/sim_node.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,12 @@ pub trait PathFinder: Send + Sync + Clone {
526526
#[derive(Clone)]
527527
pub struct DefaultPathFinder;
528528

529+
impl Default for DefaultPathFinder {
530+
fn default() -> Self {
531+
Self::new()
532+
}
533+
}
534+
529535
impl DefaultPathFinder {
530536
pub fn new() -> Self {
531537
Self

0 commit comments

Comments
 (0)