mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-07 21:41:34 -07:00
Remove redundant bind and return
This commit is contained in:
parent
81e84c2939
commit
e272fa04ee
1 changed files with 1 additions and 2 deletions
|
@ -209,8 +209,7 @@ startSpan = IncompleteInterval <$> getPosition
|
|||
|
||||
endSpan (IncompleteInterval start) = do
|
||||
endPos <- getPosition
|
||||
id <- getNextIdBetween start endPos
|
||||
return id
|
||||
getNextIdBetween start endPos
|
||||
|
||||
getSpanPositionsFor m = do
|
||||
start <- getPosition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue