feat: atualiza status do progresso de implementação e resolve warnings de código não utilizado
This commit is contained in:
@@ -6,6 +6,7 @@ use std::path::PathBuf;
|
||||
pub struct FilePath(PathBuf);
|
||||
|
||||
impl FilePath {
|
||||
#[allow(dead_code)]
|
||||
pub fn new(path: impl Into<PathBuf>) -> Self {
|
||||
FilePath(path.into())
|
||||
}
|
||||
@@ -18,7 +19,7 @@ impl FilePath {
|
||||
self.0.to_str()
|
||||
}
|
||||
|
||||
pub fn to_string_lossy(&self) -> std::borrow::Cow<str> {
|
||||
pub fn to_string_lossy(&self) -> std::borrow::Cow<'_, str> {
|
||||
self.0.to_string_lossy()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ pub struct SyncOffset(i64);
|
||||
|
||||
impl SyncOffset {
|
||||
/// Cria um SyncOffset a partir de milissegundos.
|
||||
#[allow(dead_code)]
|
||||
pub fn from_ms(ms: i64) -> Self {
|
||||
SyncOffset(ms)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user