Permalink
Branch: master
Commits on Dec 25, 2017
  1. Remove transmute in From<&str> impls for Arc/Rc

    nvzqz committed Dec 25, 2017
Commits on Dec 24, 2017
  1. Add "Basic Usage" to int min_value, max_value docs

    nvzqz committed Dec 24, 2017
Commits on Oct 6, 2017
  1. Add unique feature in Box::from_unique docs

    nvzqz committed Oct 6, 2017
  2. Add missing word in Box::from_unique docs

    nvzqz committed Oct 6, 2017
  3. Create Box::from_unique function

    nvzqz committed Oct 6, 2017
    Provides a reasonable interface for Box::from_raw implementation.
    
    Does not get around the requirement of mem::transmute for converting
    back and forth between Unique and Box.
  4. Revert to using mem::transmute in Box::from_raw

    nvzqz committed Oct 6, 2017
    Same reasons as commit 904133e.
  5. Revert to using mem::transmute in Box::into_unique

    nvzqz committed Oct 6, 2017
    Seems to cause this error: "Cannot handle boxed::Box<[u8]> represented
    as TyLayout".
Commits on Sep 30, 2017
  1. Merge remote-tracking branch 'upstream/master'

    nvzqz committed Sep 30, 2017
  2. Cast inner type in OsStr::bytes

    nvzqz committed Sep 30, 2017
    The innermost type is not [u8] on all platforms but is assumed to have
    the same memory layout as [u8] since this conversion was done via
    mem::transmute before.
Commits on Sep 29, 2017
  1. Enable required features for core::array in libstd

    nvzqz committed Sep 29, 2017
  2. Pass formatter in TryFromSliceError Display impl

    nvzqz committed Sep 29, 2017
  3. Make TryFromSliceError::__description unstable

    nvzqz committed Sep 29, 2017
    Enforces use of Error::description instead.
  4. Implement Error trait for TryFromSliceError

    nvzqz committed Sep 29, 2017
Commits on Sep 28, 2017
  1. Fix errors in Box<Path> conversions

    nvzqz committed Sep 28, 2017
  2. Remove unused 'mem' import in 'path' module

    nvzqz committed Sep 28, 2017
  3. Remove mem::transmute used in Path conversions

    nvzqz committed Sep 28, 2017
  4. Remove unused 'mem' import in 'os_str' module

    nvzqz committed Sep 28, 2017
  5. Remove mem::transmute used in OsStr conversions

    nvzqz committed Sep 28, 2017
  6. Fix mutability error in CString::from_raw

    nvzqz committed Sep 28, 2017
  7. Remove mem::transmute used in CStr conversions

    nvzqz committed Sep 28, 2017
Commits on Sep 27, 2017
  1. Remove mem::transmute used in Box<str> conversions

    nvzqz committed Sep 27, 2017
  2. Merge remote-tracking branch 'upstream/master' into box-conversions

    nvzqz committed Sep 27, 2017
  3. Remove uses of mem::transmute in Box methods

    nvzqz committed Sep 27, 2017
    Makes use of conversions via Unique.
Commits on Sep 24, 2017
  1. Try to fix array TryFrom tests

    nvzqz committed Sep 24, 2017
  2. Add TryFrom tests for array reference types

    nvzqz committed Sep 24, 2017
Commits on Sep 21, 2017
  1. Implement TryFrom for array reference types

    nvzqz committed Sep 21, 2017
    There are many cases where a buffer with a static compile-time size is
    preferred over a slice with a dynamic size. This allows for performing
    a checked conversion from &[T] to &[T; N].
    
    This may also lead to compile-time optimizations involving [T; N] such
    as loop unrolling.