Skip to content
Artwork for Learning Rust For Busy People
Learning Rust For Busy People · March 13 · 27 min

#5 – Extracting text from a Markdown file, part 3

Use Rust to extract text from a Markdown file, part 3. Covers concepts that include how to implement error handling by treating problems as either "unrecoverable" errors (by calling the "panic!" macro) or "recoverable" errors (by returning a "Result" enum), how to propagate errors using the question mark operator, and how to specify return types and return values for functions. Find more information about this podcast and the practical code examples here: https://joshroot.github.io/learning-rust-for-busy-people-podcast This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit learningrustforbusypeople.substack.com

0:00-27:30

transcript

No transcript — this publisher did not publish one.

show notes

Use Rust to extract text from a Markdown file, part 3. Covers concepts that include how to implement error handling by treating problems as either "unrecoverable" errors (by calling the "panic!" macro) or "recoverable" errors (by returning a "Result" enum), how to propagate errors using the question mark operator, and how to specify return types and return values for functions.

Find more information about this podcast and the practical code examples here: https://joshroot.github.io/learning-rust-for-busy-people-podcast



This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit learningrustforbusypeople.substack.com
links2