File 0298-Fix-documentation-in-mnesia.erl.patch of Package erlang
From 91596b5bdf632f3c18be790b336eb1b0171cf042 Mon Sep 17 00:00:00 2001
From: Christophe De Troyer <christophe.detroyer@gmail.com>
Date: Tue, 26 Nov 2024 14:13:17 +0100
Subject: [PATCH] Fix documentation in mnesia.erl
There was a wrongly named parameter in the documentation for the create_table function.
---
lib/mnesia/src/mnesia.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mnesia/src/mnesia.erl b/lib/mnesia/src/mnesia.erl
index 0788e57a94..1f5b06c7d2 100644
--- a/lib/mnesia/src/mnesia.erl
+++ b/lib/mnesia/src/mnesia.erl
@@ -4158,7 +4158,7 @@ create_table(Arg) ->
-doc """
Create a table.
-Creates a Mnesia table called `Name` according to argument `TabDef`. This list
+Creates a Mnesia table called `Name` according to argument `Opts`. This list
must be a list of `{Item, Value}` tuples, where the following values are
allowed:
--
2.43.0