Common neighbors #9

Merged
warrence merged 6 commits from common-neighbors into main 2026-10-16 20:30:32 +02:00
Showing only changes of commit 6403862977 - Show all commits
+2 -1
View File
@@ -141,9 +141,10 @@ impl<E: Copy, T: Clone> IndexMut<E> for ElementMap<E, T> {
#[cfg(test)]
mod tests {
use super::*;
use std::rc::Rc;
use super::*;
#[test]
fn initial_values_are_default() {
let map = ElementMap::new(42, |e| e, 6);