From e585d722161da008849413e16a6d4a597f3b70fe Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 14 Jun 2018 08:36:17 +0200 Subject: [PATCH] Fix typo: `_start_` -> `_start` --- .../second-edition/posts/05-integration-tests/index.md | 4 ++-- src/bin/test-basic-boot.rs | 2 +- src/main.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blog/content/second-edition/posts/05-integration-tests/index.md b/blog/content/second-edition/posts/05-integration-tests/index.md index ebeb705f..6e4391c7 100644 --- a/blog/content/second-edition/posts/05-integration-tests/index.md +++ b/blog/content/second-edition/posts/05-integration-tests/index.md @@ -413,7 +413,7 @@ extern crate blog_os; use core::panic::PanicInfo; /// This function is the entry point, since the linker looks for a function -/// named `_start_` by default. +/// named `_start` by default. #[cfg(not(test))] #[no_mangle] // don't mangle the name of this function pub extern "C" fn _start() -> ! { @@ -477,7 +477,7 @@ use core::panic::PanicInfo; use blog_os::exit_qemu; /// This function is the entry point, since the linker looks for a function -/// named `_start_` by default. +/// named `_start` by default. #[cfg(not(test))] #[no_mangle] // don't mangle the name of this function pub extern "C" fn _start() -> ! { diff --git a/src/bin/test-basic-boot.rs b/src/bin/test-basic-boot.rs index c272f282..36d3edb1 100644 --- a/src/bin/test-basic-boot.rs +++ b/src/bin/test-basic-boot.rs @@ -12,7 +12,7 @@ use blog_os::exit_qemu; use core::panic::PanicInfo; /// This function is the entry point, since the linker looks for a function -/// named `_start_` by default. +/// named `_start` by default. #[cfg(not(test))] #[no_mangle] // don't mangle the name of this function pub extern "C" fn _start() -> ! { diff --git a/src/main.rs b/src/main.rs index 38143378..4c198bcd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,7 +9,7 @@ extern crate blog_os; use core::panic::PanicInfo; /// This function is the entry point, since the linker looks for a function -/// named `_start_` by default. +/// named `_start` by default. #[cfg(not(test))] #[no_mangle] // don't mangle the name of this function pub extern "C" fn _start() -> ! {