diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-01-27 15:07:23 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-01-27 15:07:23 +0000 |
| commit | fd808007acc610af6f5f63f99cf62c852358d984 (patch) | |
| tree | 8b46d68148a0b93b474ee30e4b9a8355fea1202f | |
| parent | 8c2ba1d9452766e4b07999cb936d4198f8b5ed6a (diff) | |
| download | rabbitmq-server-git-fd808007acc610af6f5f63f99cf62c852358d984.tar.gz | |
The existing value can be 'undefined'.
| -rw-r--r-- | src/rabbit_misc.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index 45f9751a2c..1c63980ee3 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -252,7 +252,8 @@ -spec(get_parent/0 :: () -> pid()). -spec(store_proc_name/2 :: (atom(), rabbit_types:proc_name()) -> ok). -spec(store_proc_name/1 :: (rabbit_types:proc_type_and_name()) -> ok). --spec(moving_average/4 :: (float(), float(), float(), float()) -> float()). +-spec(moving_average/4 :: (float(), float(), float(), float() | 'undefined') + -> float()). -endif. %%---------------------------------------------------------------------------- |
