follow the api changes of Zed_string.ends_with

Этот коммит содержится в:
ZAN DoYe 2019-05-17 12:01:04 +08:00
родитель da0fa23a05
Коммит 3b1f930dfb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -137,7 +137,7 @@ let parse_and_check input eos_is_error =
let add_terminator s =
let terminator = UTop.get_phrase_terminator () |> Zed_string.unsafe_of_utf8 in
if Zed_string.ends_with s terminator then
if Zed_string.ends_with s ~suffix:terminator then
s
else
Zed_string.append s terminator