Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
199 B
Rust
Raw Normal View History

2021-03-03 06:38:02 +00:00
pub struct Defaulted<const N: usize=3>;
impl Defaulted {
pub fn new() -> Self {
Defaulted
}
}
impl<const N: usize> Defaulted<N> {
pub fn value(&self) -> usize {
N
}
}