Эх сурвалжийг харах

docs: fix bytemuck links in `#[account]` page (#1616)

Matthew Callens 3 жил өмнө
parent
commit
905968d5ab

+ 2 - 2
lang/attribute/account/src/lib.rs

@@ -56,8 +56,8 @@ mod id;
 ///
 ///
 /// To facilitate this, all fields in an account must be constrained to be
 /// To facilitate this, all fields in an account must be constrained to be
 /// "plain old  data", i.e., they must implement
 /// "plain old  data", i.e., they must implement
-/// [`Pod`](../bytemuck/trait.Pod.html). Please review the
-/// [`safety`](../bytemuck/trait.Pod.html#safety)
+/// [`Pod`](https://docs.rs/bytemuck/latest/bytemuck/trait.Pod.html). Please review the
+/// [`safety`](https://docs.rs/bytemuck/latest/bytemuck/trait.Pod.html#safety)
 /// section before using.
 /// section before using.
 #[proc_macro_attribute]
 #[proc_macro_attribute]
 pub fn account(
 pub fn account(