From b1702bb0460f6eef67e90fb9e44d48e8a8c5e708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Thu, 12 Dec 2024 17:09:33 +0100 Subject: [PATCH] khepri_bang: `unwrapped_minimnal_ret()` can be `ok` only [Why] It can't have an error, that's the point of the bang functions. --- src/khepri_bang.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khepri_bang.hrl b/src/khepri_bang.hrl index 3faa0299..32b92196 100644 --- a/src/khepri_bang.hrl +++ b/src/khepri_bang.hrl @@ -10,7 +10,7 @@ %% "Bang functions", mostly an Elixir convention. %% ------------------------------------------------------------------- --type unwrapped_minimal_ret() :: khepri:minimal_ret(). +-type unwrapped_minimal_ret() :: ok. -type unwrapped_payload_ret(Default) :: khepri:data() | horus:horus_fun() |