Skip to content

Commit

Permalink
object-alloc: Minor documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlf committed Mar 23, 2018
1 parent 8c73f53 commit eaa5c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object-alloc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub unsafe trait UntypedObjectAlloc {
/// `Layout`.
fn layout(&self) -> Layout;

/// Allocates an object of type `T`.
/// Allocates a new object.
///
/// The memory returned by `alloc` is guaranteed to abide by the `Layout` returned from
/// `layout`.
Expand Down

0 comments on commit eaa5c74

Please sign in to comment.