1. 08 5月, 2015 1 次提交
  2. 07 5月, 2015 38 次提交
  3. 06 5月, 2015 1 次提交
    • B
      Auto merge of #25135 - alexcrichton:generalize-env-set-var, r=aturon · 0848d1c6
      bors 提交于
      Many bounds are currently of the form `T: ?Sized + AsRef<OsStr>` where the
      argument is `&T`, but the pattern elsewhere (primarily `std::fs`) has been to
      remove the `?Sized` bound and take `T` instead (allowing usage with both
      references and owned values). This commit generalizes the possible apis in
      `std::env` from `&T` to `T` in this fashion.
      
      The `split_paths` function remains the same as the return value borrows the
      input value, so ta borrowed reference is required.
      0848d1c6