-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
v0.0.3 #30
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Joe McCain III <[email protected]>
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
pub fn to_string(&self) -> String { | ||
match self { | ||
Pitches::Flat(note) => format!("{note}♭"), | ||
Pitches::Sharp(note) => format!("{note}#"), | ||
Pitches::Natural(note) => format!("{note}"), | ||
} | ||
} |
Check failure
Code scanning / clippy
type pitch::class::Pitches implements inherent method to_string(&self) -> String which shadows the implementation of Display Error
mod pitch { | ||
use super::Natural; | ||
use core::marker::PhantomData; | ||
|
||
// pub type D<K = Natural, T = i8> = PitchClass<2, K>; | ||
|
||
// pub type E<K = Natural, T = i8> = PitchClass<4, K>; | ||
|
||
// pub type F<K = Natural, T = i8> = PitchClass<5, K>; | ||
|
||
// pub type G<K = Natural, T = i8> = PitchClass<7, K>; | ||
|
||
// pub type A<K = Natural, T = i8> = PitchClass<9, K>; | ||
|
||
// pub type B<K = Natural, T = i8> = PitchClass<11, K>; | ||
|
||
pub struct PitchClass<const N: usize, K = Natural> { | ||
_kind: PhantomData<K>, | ||
} | ||
} |
Check warning
Code scanning / clippy
module has the same name as its containing module Warning
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
Signed-off-by: Joe McCain III <[email protected]>
No description provided.