mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
more warnings
This commit is contained in:
parent
ecbac27e76
commit
53c4485387
2 changed files with 5 additions and 6 deletions
|
|
@ -49,7 +49,7 @@ struct Writer<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Writer<'a> {
|
impl<'a> Writer<'a> {
|
||||||
pub fn new(encoded_cbor: &mut Vec<u8>) -> Writer {
|
pub fn new(encoded_cbor: &mut Vec<u8>) -> Writer<'_> {
|
||||||
Writer { encoded_cbor }
|
Writer { encoded_cbor }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
use packing::Packed;
|
use packing::Packed;
|
||||||
|
|
||||||
#[derive(Clone, Copy, Eq, PartialEq, Debug, Packed)]
|
#[derive(Clone, Copy, Eq, PartialEq, Debug, Packed)]
|
||||||
|
#[allow(dead_code)]
|
||||||
pub enum VersionDescriptor {
|
pub enum VersionDescriptor {
|
||||||
None = 0x0000,
|
None = 0x0000,
|
||||||
/// SAM (no version claimed)
|
/// SAM (no version claimed)
|
||||||
|
|
@ -971,7 +972,5 @@ pub enum VersionDescriptor {
|
||||||
Ieee16672018 = 0xFFC4,
|
Ieee16672018 = 0xFFC4,
|
||||||
}
|
}
|
||||||
impl Default for VersionDescriptor {
|
impl Default for VersionDescriptor {
|
||||||
fn default() -> Self {
|
fn default() -> Self { VersionDescriptor::None }
|
||||||
VersionDescriptor::None
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue