diff --git a/site/src/tutorial.rs b/site/src/tutorial.rs index 465962a89..59cbc43f6 100644 --- a/site/src/tutorial.rs +++ b/site/src/tutorial.rs @@ -195,18 +195,20 @@ fn TutorialIntroduction() -> impl IntoView { fn TutorialBasic() -> impl IntoView { use Primitive::*; - let primitive_table: Vec<_> = Primitive::all() + let primitive_table: Vec<_> = Primitive::non_deprecated() .filter_map(|p| { - if let (Some(ascii), Some(unicode)) = (p.ascii(), p.glyph()) { - if ascii.to_string() != unicode.to_string() { - return Some(view! { - - { p.name() } - { ascii.to_string() } - - - }); - } + if p.is_experimental() { + return None; + } + let (ascii, unicode) = (p.ascii()?, p.glyph()?); + if ascii.to_string() != unicode.to_string() { + return Some(view! { + + { p.name() } + { ascii.to_string() } + + + }); } None })