Skip to content

Commit 7443082

Browse files
authored
Merge pull request #356 from likeanocean/doc
Duplicate "add" function in the docs.
2 parents 6d4095a + ad0a9f5 commit 7443082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustler_codegen/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ enum RustlerAttr {
3838
/// }
3939
///
4040
/// #[rustler::nif]
41-
/// fn add(a: i64, b: i64) -> i64 {
41+
/// fn sub(a: i64, b: i64) -> i64 {
4242
/// a - b
4343
/// }
4444
///

0 commit comments

Comments
 (0)