浏览代码

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

Matthew Callens 3 年之前
父节点
当前提交
905968d5ab
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lang/attribute/account/src/lib.rs

+ 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
 /// "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.
 #[proc_macro_attribute]
 pub fn account(