Skip to content

Conversation

@aturon
Copy link
Contributor

@aturon aturon commented Aug 22, 2014

Per API meeting

https://github.com/rust-lang/meeting-minutes/blob/master/Meeting-API-review-2014-08-13.md

Changes to core::option

Most of the module is marked as stable or unstable; most of the unstable items are awaiting resolution of conventions issues.

However, a few methods have been deprecated, either due to lack of use or redundancy:

  • take_unwrap, get_ref and get_mut_ref (redundant, and we prefer for this functionality to go through an explicit .unwrap)
  • filtered and while
  • mutate and mutate_or_set
  • collect: this functionality is being moved to a new FromIterator impl.

Changes to core::result

Most of the module is marked as stable or unstable; most of the unstable items are awaiting resolution of conventions issues.

  • collect: this functionality is being moved to a new FromIterator impl.
  • fold_ is deprecated due to lack of use
  • Several methods found in core::option are added here, including iter, as_slice, and variants.

Due to deprecations, this is a:

[breaking-change]

@aturon
Copy link
Contributor Author

aturon commented Aug 22, 2014

cc @bjz

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This documentation may want to move to the implementation of collect for Option (just to see what's going on)

@brendanzab
Copy link
Contributor

Looks good to me. 👍

@aturon aturon force-pushed the stabilize-option-result branch from 1b2e9e3 to 02b4659 Compare August 28, 2014 15:32
@aturon
Copy link
Contributor Author

aturon commented Aug 28, 2014

@alexcrichton BTW, this has PR been updated to address your requests.

I'm going to do a separate, library-wide PR to deal with the new mut and iter conventions.

aturon added 3 commits August 28, 2014 09:12
Per API meeting

  https://github.com/rust-lang/meeting-minutes/blob/master/Meeting-API-review-2014-08-13.md

Most of the module is marked as stable or unstable; most of the unstable
items are awaiting resolution of conventions issues.

However, a few methods have been deprecated, either due to lack of use
or redundancy:

* `take_unwrap`, `get_ref` and `get_mut_ref` (redundant, and we prefer
  for this functionality to go through an explicit .unwrap)
* `filtered` and `while`
* `mutate` and `mutate_or_set`
* `collect`: this functionality is being moved to a new `FromIterator`
  impl.

Due to deprecations, this is a:

[breaking-change]
Per API meeting

  https://github.com/rust-lang/meeting-minutes/blob/master/Meeting-API-review-2014-08-13.md

Most of the module is marked as stable or unstable; most of the unstable
items are awaiting resolution of conventions issues.

* `collect`: this functionality is being moved to a new `FromIterator`
  impl.
* `fold_` is deprecated due to lack of use
* Several methods found in `core::option` are added here, including
  `iter`, `as_slice`, and variants.

Due to deprecations, this is a:

[breaking-change]
@aturon aturon force-pushed the stabilize-option-result branch from 02b4659 to 9a8233d Compare August 28, 2014 16:13
bors added a commit that referenced this pull request Aug 28, 2014
…chton

Per API meeting

  https://github.com/rust-lang/meeting-minutes/blob/master/Meeting-API-review-2014-08-13.md

# Changes to `core::option`

Most of the module is marked as stable or unstable; most of the unstable items are awaiting resolution of conventions issues.

However, a few methods have been deprecated, either due to lack of use or redundancy:

* `take_unwrap`, `get_ref` and `get_mut_ref` (redundant, and we prefer for this functionality to go through an explicit .unwrap)
* `filtered` and `while`
* `mutate` and `mutate_or_set`
* `collect`: this functionality is being moved to a new `FromIterator` impl.

# Changes to `core::result`

Most of the module is marked as stable or unstable; most of the unstable items are awaiting resolution of conventions issues.

* `collect`: this functionality is being moved to a new `FromIterator` impl.
* `fold_` is deprecated due to lack of use
* Several methods found in `core::option` are added here, including `iter`, `as_slice`, and variants.

Due to deprecations, this is a:

[breaking-change]
@bors bors closed this Aug 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants