Skip to content

Commit f069f9c

Browse files
committed
Remove abandoned functions
1 parent e3fd3f0 commit f069f9c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/lib.rs

-14
Original file line numberDiff line numberDiff line change
@@ -3018,20 +3018,6 @@ impl Locale {
30183018
})
30193019
})
30203020
}
3021-
3022-
/// Create a locale from a CBOR file.
3023-
#[cfg(feature = "ciborium")]
3024-
pub fn from_cbor(reader: &[u8]) -> Result<Self, CborDeserializeError> {
3025-
ciborium::de::from_reader(reader)
3026-
}
3027-
3028-
/// Write the locale to a CBOR file.
3029-
#[cfg(feature = "ciborium")]
3030-
pub fn to_cbor(&self) -> Result<Vec<u8>, CborSerializeError> {
3031-
let mut buf = Vec::new();
3032-
ciborium::ser::into_writer(self, &mut buf)?;
3033-
Ok(buf)
3034-
}
30353021
}
30363022

30373023
/// Get the right forms of ordinal terms for numbers.

0 commit comments

Comments
 (0)