Add space between rsx and exclamation point (#2956)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-09-13 08:31:39 -05:00
1 parent 8d68886310
commit c7124e41fb
20 files changed
+41 -41

No files matched your search

+2 -2
View File
@@ -558,13 +558,13 @@ impl ScopeId {
/// fn Component() -> Element {
/// let request = spawn(async move {
/// match reqwest::get("https://api.example.com").await {
/// Ok(_) => todo!(),
/// Ok(_) => unimplemented!(),
/// // You can explicitly throw an error into a scope with throw_error
/// Err(err) => ScopeId::APP.throw_error(err)
/// }
/// });
///
/// todo!()
/// unimplemented!()
/// }
/// ```
pub fn throw_error(self, error: impl Into<CapturedError> + 'static) {