From db31e2881ed490adad02e2e3ac652aa499bebebc Mon Sep 17 00:00:00 2001 From: sam lovelace Date: Sun, 28 Nov 2021 03:04:34 +0000 Subject: [PATCH] switched codeblock lang from enum to string --- src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d7e0569..8493850 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,3 @@ -pub enum ProgrammingLanguage { - None, -} - pub struct RGBA { red: u8, green: u8, @@ -15,7 +11,7 @@ pub struct Header { } pub struct CodeBlock { - language: ProgrammingLanguage, + language: String, text: String, } pub fn parse() {}