1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Hello, world!
//!
//!   - **Date:** September 24, 2015
//!   - **Subject:** The host, the language, and the show!
//!   - [**Audio**][mp3]
//!
//! [mp3]: https://www.podtrac.com/pts/redirect.mp3/cdn.newrustacean.com/file/newrustacean/e000.mp3
//!
//! <audio style="width: 100%" title="Hello, world!" controls preload=metadata src="https://www.podtrac.com/pts/redirect.mp3/cdn.newrustacean.com/file/newrustacean/e000.mp3" />
//!
//! Today's show is pretty meta. You can skip it if you just want to start with
//! something more technical, but I thought listeners might want to know a
//! little about the origins of the show and my own background, so that's what
//! you get today. Next time, we'll be tackling the `rustdoc` command in some
//! detail.
//!
//! ---
//!
//! This is an almost-empty module: we aren't doing any fun code samples yet.
//! I included the standard "Hello, world!" example, because how could I not?
//! However, at some point in the future, there will be much more detailed code
//! samples available:
//!
//!   - in the [GitHub repository] for the show
//!   - in the show notes attached to each episode
//!
//! [GitHub repository]: //github.com/chriskrycho/newrustacean.com
//!
//! Hopefully, the result will be a pretty helpful bunch of side content along
//! with the audio of the podcast itself.
//!
//! # Follow/Support
//!
//!   - New Rustacean:
//!     + Twitter: [@newrustacean](https://www.twitter.com/newrustacean)
//!       + App.net: [@newrustacean](https://alpha.app.net/newrustacean)
//!       + <a href="https://www.patreon.com/newrustacean" rel="payment">Patreon</a>
//!     + Email: [[email protected]](mailto:[email protected])
//!   - Chris Krycho
//!     + Twitter: [@chriskrycho](https://www.twitter.com/chriskrycho)
//!       + App.net: [@chriskrycho](https://alpha.app.net/chriskrycho)

/// Prints "Hello, world!" if you import it somewhere and run it.
pub fn hello_world() {
    println!("Hello, world!");
}