Skip to main content

read_data_file

Function read_data_file 

Source
pub fn read_data_file(path: impl AsRef<Path>) -> String
Expand description

Returns the contents of the data file at path.

ยงPanics

This function will panic if the file does not exist or is otherwise unreadable.