diff --git a/components/icu/Cargo.toml b/components/icu/Cargo.toml index 748a07b5140..557f5cb42ee 100644 --- a/components/icu/Cargo.toml +++ b/components/icu/Cargo.toml @@ -63,11 +63,14 @@ version = "0.2" path = "../uniset" default-features = false +[dependencies.fixed_decimal] +version = "0.2" +path = "../../utils/fixed_decimal" +default-features = false [dev-dependencies] icu_provider = { version = "0.2", path = "../../provider/core" } icu_testdata = { version = "0.2", path = "../../provider/testdata" } -fixed_decimal = { version = "0.2", path = "../../utils/fixed_decimal" } writeable = { version = "0.2", path = "../../utils/writeable" } [features] diff --git a/ffi/capi/src/fixed_decimal.rs b/ffi/capi/src/fixed_decimal.rs index 5bdd1a67e43..4e7d36f2fae 100644 --- a/ffi/capi/src/fixed_decimal.rs +++ b/ffi/capi/src/fixed_decimal.rs @@ -25,7 +25,7 @@ pub extern "C" fn icu4x_fixed_decimal_create(number: i64) -> *mut ICU4XFixedDeci #[no_mangle] /// FFI version of [`FixedDecimal::multiply_pow10()`]. See its docs for more details. /// -/// Returns a [`ICU4XFixedDecimalMultiplyPow10Result`] struct. See its docs for more details. +/// Returns a boolean indicating whether the operation was successful. pub extern "C" fn icu4x_fixed_decimal_multiply_pow10( fd: &mut ICU4XFixedDecimal, power: i16, diff --git a/utils/zerovec/src/map/kv.rs b/utils/zerovec/src/map/kv.rs index 3c6abdc93ce..687ea6c1fe1 100644 --- a/utils/zerovec/src/map/kv.rs +++ b/utils/zerovec/src/map/kv.rs @@ -8,7 +8,7 @@ use crate::VarZeroVec; use crate::ZeroVec; use std::cmp::Ordering; -/// Trait marking types which are allowed to be keys or values in [`ZeroMap`]. +/// Trait marking types which are allowed to be keys or values in [`ZeroMap`](super::ZeroMap). /// /// Users should not be calling methods of this trait directly, however if you are /// implementing your own [`AsULE`] or [`AsVarULE`] type you may wish to implement diff --git a/utils/zerovec/src/map/vecs.rs b/utils/zerovec/src/map/vecs.rs index ff406723feb..922e7392686 100644 --- a/utils/zerovec/src/map/vecs.rs +++ b/utils/zerovec/src/map/vecs.rs @@ -8,7 +8,7 @@ use crate::ZeroVec; use std::cmp::Ordering; use std::mem; -/// Trait abstracting over [`ZeroVec`] and [`VarZeroVec`], for use in [`ZeroMap`]. You +/// Trait abstracting over [`ZeroVec`] and [`VarZeroVec`], for use in [`ZeroMap`](super::ZeroMap). You /// should not be implementing or calling this trait directly. pub trait ZeroVecLike<'a, T> { /// The type received by `Self::binary_search()`