Skip to content

Commit

Permalink
Expose the Pointer trait as public
Browse files Browse the repository at this point in the history
  • Loading branch information
jeehoonkang committed Apr 1, 2018
1 parent 3179e79 commit 4061bae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Expose the `Pointer` trait.
- Disallow warnings, missing docs, missing debug impls.

## [0.4.1] - 2018-03-20
### Added
Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
#![cfg_attr(feature = "nightly", feature(alloc))]
#![cfg_attr(not(test), no_std)]

#![deny(missing_docs, warnings, missing_debug_implementations)]

#[cfg(test)]
extern crate core;
#[cfg(all(not(test), feature = "use_std"))]
Expand Down Expand Up @@ -96,7 +98,7 @@ mod guard;
mod internal;
mod sync;

pub use self::atomic::{Atomic, CompareAndSetError, CompareAndSetOrdering, Owned, Shared};
pub use self::atomic::{Atomic, CompareAndSetError, CompareAndSetOrdering, Owned, Shared, Pointer};
pub use self::guard::{unprotected, Guard};
#[cfg(feature = "use_std")]
pub use self::default::{default_collector, default_handle, is_pinned, pin};
Expand Down

0 comments on commit 4061bae

Please sign in to comment.