Skip to content

Commit

Permalink
Expose local method as public
Browse files Browse the repository at this point in the history
  • Loading branch information
martynp committed Nov 28, 2023
1 parent e526fa0 commit c57d108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/src/data/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl<'r> Data<'r> {

/// This creates a `data` object from a local data source `data`.
#[inline]
pub(crate) fn local(data: Vec<u8>) -> Data<'r> {
pub fn local(data: Vec<u8>) -> Data<'r> {
Data {
buffer: data,
stream: StreamReader::empty(),
Expand Down

0 comments on commit c57d108

Please sign in to comment.