From 3315bfe2f63571f5e6e924d58ed32afd8f39f892 Mon Sep 17 00:00:00 2001 From: Alexx Roche Date: Wed, 24 Mar 2021 13:50:06 +0100 Subject: [PATCH] x86_64::VirtAddr already imported on L415 (#953) `error[E0252]: the name 'VirtAddr' is defined multiple times` --- blog/content/edition-2/posts/09-paging-implementation/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blog/content/edition-2/posts/09-paging-implementation/index.md b/blog/content/edition-2/posts/09-paging-implementation/index.md index fdbad6f5..2f5fd7b7 100644 --- a/blog/content/edition-2/posts/09-paging-implementation/index.md +++ b/blog/content/edition-2/posts/09-paging-implementation/index.md @@ -558,9 +558,8 @@ Let's test our translation function by translating some addresses: // in src/main.rs fn kernel_main(boot_info: &'static BootInfo) -> ! { - // new imports + // new import use blog_os::memory::translate_addr; - use x86_64::VirtAddr; […] // hello world and blog_os::init