Skip to content

Commit

Permalink
Add missing 'pub' on new from_uncompressed_data() API
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Nordholts committed Dec 28, 2021
1 parent b4e2cbb commit 219a81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dumps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub fn from_uncompressed_dump_file<T: DeserializeOwned, P: AsRef<Path>>(path: P)
/// data that has been embedded in your own binary with the [`include_bytes!`]
/// macro.
#[cfg(any(feature = "dump-load", feature = "dump-load-rs"))]
fn from_uncompressed_data<T: DeserializeOwned>(v: &[u8]) -> Result<T> {
pub fn from_uncompressed_data<T: DeserializeOwned>(v: &[u8]) -> Result<T> {
deserialize_from_reader_impl(v, false)
}

Expand Down

0 comments on commit 219a81d

Please sign in to comment.