Refactoring

This commit is contained in:
elvis
2025-07-11 19:36:20 +02:00
parent 5bddb01883
commit b22c7de319
10 changed files with 525 additions and 469 deletions

View File

@ -18,7 +18,7 @@ struct GraphAndTranslator {
}
/// Serializer for graph and translator.
pub fn sr<W>(
pub fn ser<W>(
writer: W,
graph: &Graph<RSsystem, RSlabel>,
translator: &Translator
@ -34,7 +34,7 @@ where
}
/// Deserializer for file that contains graph and translator.
pub fn dsr<R>(
pub fn de<R>(
reader: R
) -> Result<(Graph<RSsystem, RSlabel>, Translator), serde_cbor_2::Error>
where