EN | DE

Stage 7.7: String Literals From Files

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

let hello_html = include_str!("hello.html");

Further information:

Share on Facebook Share on Twitter Share on Reddit Save on Pocket Share on LinkedIn Share via email
Rust mascot Ferris