Merge pull request #139 from TheBlueMatt/main
[ldk-java] / c_sharp / src / org / ldk / structs / Description.cs
index 0a7a450df3441e1e0e2cb1db4c6c6de4e3a8fa64..46b03515e1e029ac3ea0ac0567dc942cc48f8d37 100644 (file)
@@ -37,7 +37,7 @@ public class Description : CommonBase {
        }
 
        /**
-        * Checks if two Descriptions contain equal inner contents.
+        * Generates a non-cryptographic 64-bit hash of the Description.
         */
        public long hash() {
                long ret = bindings.Description_hash(this.ptr);
@@ -67,7 +67,7 @@ public class Description : CommonBase {
        }
        /**
         * Creates a new `Description` if `description` is at most 1023 __bytes__ long,
-        * returns `CreationError::DescriptionTooLong` otherwise
+        * returns [`CreationError::DescriptionTooLong`] otherwise
         * 
         * Please note that single characters may use more than one byte due to UTF8 encoding.
         */
@@ -80,7 +80,7 @@ public class Description : CommonBase {
        }
 
        /**
-        * Returns the underlying description `String`
+        * Returns the underlying description [`String`]
         */
        public string into_inner() {
                string ret = bindings.Description_into_inner(this.ptr);