Sunday, June 9, 2024

Pivot pop-quiz: libraryitize reading REST endpoint

#Rust pop-quiz 02

Now that you can read from a REST endpoint, shunt that functionality into its own module, read_rest.rs that has the following function:

read_pivots() -> ErrStr<Vec<String>>

We'll be using this as a library function in follow-on quizzes. 

The library name? swerve

No comments:

Post a Comment