feat: atualiza status do progresso de implementação e resolve warnings de código não utilizado

This commit is contained in:
2026-02-28 15:11:19 -03:00
parent 7c9da9626a
commit de747368a3
11 changed files with 27 additions and 13 deletions
+2 -1
View File
@@ -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()
}
}
+1
View File
@@ -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)
}