refactor(server): apply rustfmt and clippy suggestions

Formatting pass across simulation, perception, knowledge, NPC, and
test modules. Includes two clippy fixes in monologue.rs (.values()
instead of for (_, v) pattern).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 00:40:43 +01:00
co-authored by Claude Opus 4.6
parent 8ec875385a
commit d0663c4193
21 changed files with 600 additions and 274 deletions
+2 -5
View File
@@ -12,9 +12,7 @@ pub mod graph;
pub mod registry;
pub mod types;
pub use events::{
KnowledgeEvent, KnowledgeEventQueue, KnowledgeEventType,
};
pub use events::{KnowledgeEvent, KnowledgeEventQueue, KnowledgeEventType};
pub use graph::KnowledgeGraph;
pub use registry::{EntityRegistry, StableEntityId};
pub use types::*;
@@ -33,8 +31,7 @@ impl Plugin for KnowledgePlugin {
(
events::process_knowledge_events
.after(crate::perception::observer::compute_observer_snapshot),
events::decay_knowledge
.after(events::process_knowledge_events),
events::decay_knowledge.after(events::process_knowledge_events),
),
);
tracing::debug!("KnowledgePlugin initialized");