浏览代码

remove html! macro mentioning (#3654)

Jonas Pleyer 5 月之前
父节点
当前提交
4e955d0e3b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/core/src/properties.rs
  2. 1 1
      packages/html/README.md

+ 1 - 1
packages/core/src/properties.rs

@@ -105,7 +105,7 @@ impl EmptyBuilder {
     pub fn build(self) {}
 }
 
-/// This utility function launches the builder method so rsx! and html! macros can use the typed-builder pattern
+/// This utility function launches the builder method so that the rsx! macro can use the typed-builder pattern
 /// to initialize a component's props.
 pub fn fc_to_builder<P, M>(_: impl ComponentFunction<P, M>) -> <P as Properties>::Builder
 where

+ 1 - 1
packages/html/README.md

@@ -21,7 +21,7 @@
 
 ## Overview
 
-The Dioxus `rsx!` and `html!` macros can accept any compile-time correct namespace on top of NodeFactory. This crate provides the HTML (and SVG) namespaces which get imported in the Dioxus prelude.
+The Dioxus `rsx!` macro can accept any compile-time correct namespace on top of NodeFactory. This crate provides the HTML (and SVG) namespaces which get imported in the Dioxus prelude.
 
 However, this abstraction enables you to add any namespace of elements, provided they're in scope when rsx! is called. For an example, a UI that is designed for Augmented Reality might use different primitives than HTML: