From c61e92a3a232725191b06a8ae674e44d3e11d39b Mon Sep 17 00:00:00 2001 From: Angelo Fallaria Date: Thu, 3 Feb 2022 13:21:14 +0800 Subject: [PATCH] style: add comment in ParseError to explain u32 field --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index 351650b..9397506 100644 --- a/src/config.rs +++ b/src/config.rs @@ -13,6 +13,7 @@ pub enum Error { #[derive(Debug)] pub enum ParseError { + // u32 is the line number where an error occured UnknownSymbol(u32), MissingCommand(u32), }