Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the get_ prefix of methods #151

Merged
merged 2 commits into from
Oct 11, 2017
Merged

Remove the get_ prefix of methods #151

merged 2 commits into from
Oct 11, 2017

Conversation

tomaka
Copy link
Collaborator

@tomaka tomaka commented Feb 10, 2017

No description provided.

src/lib.rs Outdated
/// An opaque type that identifies an end point.
#[derive(Clone, PartialEq, Eq)]
pub struct Endpoint(cpal_impl::Endpoint);

impl Endpoint {
/// Returns an iterator that produces the list of formats that are supported by the backend.
#[inline]
pub fn supported_formats_list(&self) -> Result<SupportedFormatsIterator,

Choose a reason for hiding this comment

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

I feel like this is still a bit of a misnomer. It produces an iterator, not a list. Just "supported_formats" would be enoguh, I think.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah right, that's an overlook.

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.

2 participants