From 429e21a776553ebe57137640304c08b9ec238471 Mon Sep 17 00:00:00 2001 From: Boris-Chengbiao Zhou Date: Thu, 20 Jul 2017 04:04:32 +0200 Subject: [PATCH] Restore better format for catalog aliases --- src/catalog.rs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/catalog.rs b/src/catalog.rs index e0a5517..f36da44 100644 --- a/src/catalog.rs +++ b/src/catalog.rs @@ -2,18 +2,13 @@ pub type CatalogDefinition<'a> = (&'a str, Login<'a>); pub type Login<'a> = Option<(&'a str, &'a str)>; +#[cfg_attr(rustfmt, rustfmt_skip)] pub static ALIASES: &[(&str, CatalogDefinition)] = &[ ("DS_WS1617", ("16w-diskrete-strukturen", None)), - ( - "EIDI_WS1617", - ("eidi1-2016", Some(("eidi-2016", "PGdP.16"))), - ), + ("EIDI_WS1617", ("eidi1-2016", Some(("eidi-2016", "PGdP.16")))), ("ERA_WS1617", ("era-2016", None)), - ( - "GAD_SS17", - ("17s-grundlagen-algorithmen-und-datenstrukturen", None), - ), + ("GAD_SS17", ("17s-grundlagen-algorithmen-und-datenstrukturen", None)), ("LA_SS17", ("17s-lineare-algebra-fuer-informatik", None)), // EIST is on a Nextcloud ];