mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Rename Str.toBytes to Str.toUtf8
This commit is contained in:
parent
23e11ca946
commit
2a616103c6
16 changed files with 33 additions and 33 deletions
|
@ -607,9 +607,9 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
Box::new(result_type(str_type(), bad_utf8)),
|
||||
);
|
||||
|
||||
// toBytes : Str -> List U8
|
||||
// toUtf8 : Str -> List U8
|
||||
add_top_level_function_type!(
|
||||
Symbol::STR_TO_BYTES,
|
||||
Symbol::STR_TO_UTF8,
|
||||
vec![str_type()],
|
||||
Box::new(list_type(u8_type()))
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue