make decoration comment style consistent

This commit is contained in:
Michael Sippel 2023-10-02 15:07:42 +02:00
parent e60c60cbff
commit c7585f353a
Signed by: senvas
GPG key ID: F96CF119C34B64A6
4 changed files with 7 additions and 11 deletions

View file

@ -1,6 +1,6 @@
use std::{collections::HashMap, hash::Hash};
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\
pub struct Bimap<V: Eq + Hash, Λ: Eq + Hash> {
pub : HashMap<V, Λ>,
@ -21,5 +21,4 @@ impl<V: Eq + Hash + Clone, Λ: Eq + Hash + Clone> Bimap<V, Λ> {
}
}
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\

View file

@ -1,6 +1,6 @@
use crate::bimap::Bimap;
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\
#[derive(Eq, PartialEq, Hash, Clone, Debug)]
pub enum TypeID {
@ -8,7 +8,7 @@ pub enum TypeID {
Var(u64)
}
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\
pub struct TypeDict {
typenames: Bimap<String, TypeID>,
@ -16,7 +16,7 @@ pub struct TypeDict {
type_var_counter: u64,
}
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\
impl TypeDict {
pub fn new() -> Self {
@ -57,4 +57,3 @@ impl TypeDict {
}
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>

View file

@ -163,4 +163,3 @@ where It: Iterator<Item = char>
}
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\

View file

@ -1,6 +1,6 @@
use crate::TypeID;
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\
#[derive(Clone, PartialEq, Eq, Hash, Debug)]
pub enum TypeTerm {
@ -26,7 +26,7 @@ pub enum TypeTerm {
Ladder(Vec< TypeTerm >),
}
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\
impl TypeTerm {
pub fn unit() -> Self {
@ -81,4 +81,3 @@ impl TypeTerm {
}
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\