Browse Source

Fix typo in comment in use_shared_state.rs

Dave Rolsky 3 năm trước cách đây
mục cha
commit
00ff54bb3b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/hooks/src/use_shared_state.rs

+ 1 - 1
packages/hooks/src/use_shared_state.rs

@@ -33,7 +33,7 @@ impl<T> ProvidedStateInner<T> {
 /// This hook provides some relatively light ergonomics around shared state.
 ///
 /// It is not a substitute for a proper state management system, but it is capable enough to provide use_state - type
-/// ergonimics in a pinch, with zero cost.
+/// ergonomics in a pinch, with zero cost.
 ///
 /// # Example
 ///