follow the api changes of Zed_string.ends_with

This commit is contained in:
ZAN DoYe 2019-05-17 12:01:04 +08:00
parent da0fa23a05
commit 3b1f930dfb
1 changed files with 1 additions and 1 deletions

View File

@ -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