Skip to content

Commit daf7a1e

Browse files
committed
docs(allocator/vec): fix link in doc comment for Vec2 (#9729)
Fix a doc comment on a method of `vec2::Vec` (the implementation copied from `bumpalo` in #9646).
1 parent 6c86961 commit daf7a1e

File tree

1 file changed

+1
-1
lines changed
  • crates/oxc_allocator/src/vec2

1 file changed

+1
-1
lines changed

crates/oxc_allocator/src/vec2/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ impl<'bump, T: 'bump + Copy> Vec<'bump, T> {
18271827
/// ```
18281828
///
18291829
/// [`extend_from_slice`]: #method.extend_from_slice
1830-
/// [`extend_from_slices`]: #method.extend_from_slices
1830+
/// [`extend_from_slices_copy`]: #method.extend_from_slices_copy
18311831
pub fn extend_from_slice_copy(&mut self, other: &[T]) {
18321832
// Reserve space in the Vec for the values to be added
18331833
self.reserve(other.len());

0 commit comments

Comments
 (0)