Fix spec in delta operation (#193)

This commit is contained in:
Cheng Zhe 2021-04-15 14:56:03 +08:00 committed by GitHub
parent 9b0ac23c2c
commit bfaf6b7776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ defmodule Livebook.Delta.Operation do
@spec insert(String.t()) :: t()
def insert(string), do: {:insert, string}
@spec insert(non_neg_integer()) :: t()
@spec retain(non_neg_integer()) :: t()
def retain(length), do: {:retain, length}
@spec delete(non_neg_integer()) :: t()