tact-docs icon indicating copy to clipboard operation
tact-docs copied to clipboard

Wrong function signature for `fromSlice`

Open anton-trunov opened this issue 1 year ago • 1 comments

The signature in the docs is as follows:

extends fun fromSlice(self: Struct, cell: Slice): Struct;

But fromSlice is not called on any instance of Struct. Struct is better understood as a namespace here.

Incidentally, cell: Slice is confusing, it should be slice: Slice.

anton-trunov avatar Aug 29 '24 08:08 anton-trunov