We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While reimplementing finalfusion-inspector in Rust, I bumped into a small annoyance. The analogy method takes an array of &str:
analogy
&str
query: [&str; 3]
However, oftentimes you have a [String; 3]. We should relax this type to:
query: [impl AsRef<str>; 3]
This should not break the API, since it allows a superset of types of the original signature.
The text was updated successfully, but these errors were encountered:
danieldk
sebpuetz
RealNicolasBourbaki
No branches or pull requests
While reimplementing finalfusion-inspector in Rust, I bumped into a small annoyance. The
analogy
method takes an array of&str
:query: [&str; 3]
However, oftentimes you have a [String; 3]. We should relax this type to:
query: [impl AsRef<str>; 3]
This should not break the API, since it allows a superset of types of the original signature.
The text was updated successfully, but these errors were encountered: