Skip to content

Commit

Permalink
Rename slice_copy to slice_owned (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Hoffmann <[email protected]>
  • Loading branch information
antiguru authored Jul 2, 2024
1 parent 484b57e commit 89fac29
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub mod offsets;
pub mod option;
pub mod result;
pub mod slice;
pub mod slice_copy;
pub mod slice_owned;
pub mod storage;
pub mod string;
pub mod tuple;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/impls/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

use crate::impls::slice_copy::OwnedRegion;
use crate::impls::slice_owned::OwnedRegion;
use crate::{Push, Region, RegionPreference, ReserveItems};

/// A region to store strings and read `&str`.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub use impls::mirror::MirrorRegion;
pub use impls::option::OptionRegion;
pub use impls::result::ResultRegion;
pub use impls::slice::SliceRegion;
pub use impls::slice_copy::OwnedRegion;
pub use impls::slice_owned::OwnedRegion;
pub use impls::string::StringRegion;

/// An index into a region. Automatically implemented for relevant types.
Expand Down

0 comments on commit 89fac29

Please sign in to comment.