Add space between rsx and exclamation point (#2956)
This commit is contained in:
1 parent
8d68886310
commit
c7124e41fb
20 files changed
+41
-41
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user