Skip to content

Commit e3fb4e8

Browse files
committed
start, delete methods that are documented as being deleted in v0.9.0
1 parent be6b42a commit e3fb4e8

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

compact_str/src/lib.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -211,26 +211,6 @@ impl CompactString {
211211
CompactString(Repr::const_new(text))
212212
}
213213

214-
/// Creates a new inline [`CompactString`] at compile time.
215-
#[deprecated(
216-
since = "0.8.0",
217-
note = "replaced by CompactString::const_new, will be removed in 0.9.0"
218-
)]
219-
#[inline]
220-
pub const fn new_inline(text: &'static str) -> Self {
221-
CompactString::const_new(text)
222-
}
223-
224-
/// Creates a new inline [`CompactString`] from `&'static str` at compile time.
225-
#[deprecated(
226-
since = "0.8.0",
227-
note = "replaced by CompactString::const_new, will be removed in 0.9.0"
228-
)]
229-
#[inline]
230-
pub const fn from_static_str(text: &'static str) -> Self {
231-
CompactString::const_new(text)
232-
}
233-
234214
/// Get back the `&'static str` constructed by [`CompactString::const_new`].
235215
///
236216
/// If the string was short enough that it could be inlined, then it was inline, and

0 commit comments

Comments
 (0)