Skip to content

Commit 3ae901a

Browse files
committed
fix method links in docs
Signed-off-by: Daniel King <[email protected]>
1 parent 44ba1f1 commit 3ae901a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

vortex-dtype/src/dtype.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ impl DType {
334334
}
335335
}
336336

337-
/// Owned version of [as_decimal_opt].
337+
/// Owned version of [Self::as_decimal_opt].
338338
pub fn into_decimal_opt(self) -> Option<DecimalDType> {
339339
if let Decimal(decimal, _) = self {
340340
Some(decimal)
@@ -354,7 +354,7 @@ impl DType {
354354
}
355355
}
356356

357-
/// Owned version of [as_list_element_opt].
357+
/// Owned version of [Self::as_list_element_opt].
358358
pub fn into_list_element_opt(self) -> Option<Arc<DType>> {
359359
if let List(edt, _) = self {
360360
Some(edt)
@@ -375,7 +375,7 @@ impl DType {
375375
}
376376
}
377377

378-
/// Owned version of [as_fixed_size_list_element_opt].
378+
/// Owned version of [Self::as_fixed_size_list_element_opt].
379379
pub fn into_fixed_size_list_element_opt(self) -> Option<Arc<DType>> {
380380
if let FixedSizeList(edt, ..) = self {
381381
Some(edt)
@@ -396,7 +396,7 @@ impl DType {
396396
}
397397
}
398398

399-
/// Owned version of [as_any_size_list_element_opt].
399+
/// Owned version of [Self::as_any_size_list_element_opt].
400400
pub fn into_any_size_list_element_opt(self) -> Option<Arc<DType>> {
401401
if let FixedSizeList(edt, ..) = self {
402402
Some(edt)
@@ -419,7 +419,7 @@ impl DType {
419419
vortex_panic!("DType is not a Struct")
420420
}
421421

422-
/// Owned version of [as_struct_fields].
422+
/// Owned version of [Self::as_struct_fields].
423423
pub fn into_struct_fields(self) -> StructFields {
424424
if let Struct(f, _) = self {
425425
return f;
@@ -436,7 +436,7 @@ impl DType {
436436
}
437437
}
438438

439-
/// Owned version of [as_struct_fields_opt].
439+
/// Owned version of [Self::as_struct_fields_opt].
440440
pub fn into_struct_fields_opt(self) -> Option<StructFields> {
441441
if let Struct(f, _) = self {
442442
Some(f)

0 commit comments

Comments
 (0)