1
0
Fork 0
forked from wry/wry

dbus: simplify auth function

This commit is contained in:
Julian Orth 2026-01-18 16:01:33 +01:00
parent 3d7dc1161f
commit d84d4edd90
2 changed files with 21 additions and 25 deletions

View file

@ -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();