dbus: simplify auth function
This commit is contained in:
parent
3d7dc1161f
commit
d84d4edd90
2 changed files with 21 additions and 25 deletions
|
|
@ -145,6 +145,7 @@ impl Buf {
|
|||
unsafe { self.storage.as_ptr().add(self.range.start as _) }
|
||||
}
|
||||
|
||||
#[expect(dead_code)]
|
||||
pub fn write_fmt(&mut self, args: Arguments) -> Result<Self, io::Error> {
|
||||
let cap = self.len();
|
||||
let mut buf = self.deref_mut();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue