diff options
| author | William Boman <william@redwill.se> | 2022-07-14 17:27:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-14 17:27:12 +0200 |
| commit | 63de62cd0b0b53c5946d67ee2a3c2dac16379707 (patch) | |
| tree | 54d69e3bc51370787dfef71856747727ed5a84d5 /lua/mason-core/result.lua | |
| parent | fix(arduino_language_server): fix Windows asset files (#72) (diff) | |
| download | mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.gz mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.bz2 mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.lz mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.xz mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.tar.zst mason-63de62cd0b0b53c5946d67ee2a3c2dac16379707.zip | |
chore: change emmylua annotation syntax from @ to : for comments (#73)
Diffstat (limited to 'lua/mason-core/result.lua')
| -rw-r--r-- | lua/mason-core/result.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mason-core/result.lua b/lua/mason-core/result.lua index 132e2758..0a615b8f 100644 --- a/lua/mason-core/result.lua +++ b/lua/mason-core/result.lua @@ -40,7 +40,7 @@ function Result:get_or_else(value) end end ----@param exception any @(optional) The exception to throw if the result is a failure. +---@param exception any: (optional) The exception to throw if the result is a failure. function Result:get_or_throw(exception) if self:is_success() then return self.value |
