Adds argument de-structuring to 'rmTool' function & remove the one in its body

This commit is contained in:
Arjun Kathuria 2021-06-22 20:09:26 +05:30
parent 82a704ab44
commit 4ef3622616

View File

@ -1290,8 +1290,7 @@ rmTool :: ( MonadReader AppState m
=> ListResult
-> Excepts '[NotInstalled ] m ()
rmTool tool = do
let ListResult {lVer, lTool, lCross} = tool
rmTool ListResult {lVer, lTool, lCross} = do
-- appstate <- ask
case lTool of