mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Rename Http.getStr to Http.getUtf8
This commit is contained in:
parent
e96a799a01
commit
2d0f8482e9
4 changed files with 6 additions and 6 deletions
|
@ -47,7 +47,7 @@ pub fn roc_fx_putLine(line: RocStr) -> () {
|
|||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub fn roc_fx_httpGetStr(url: RocStr) -> RocStr {
|
||||
pub fn roc_fx_httpGetUtf8(url: RocStr) -> RocStr {
|
||||
println!("TODO: read from this URL {:?}", url);
|
||||
|
||||
RocStr::from_slice("url!!!".as_bytes())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue