mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
Remove some dead code
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -73,10 +73,6 @@ pub const Browser = struct {
|
|||||||
self.session.deinit();
|
self.session.deinit();
|
||||||
try Session.init(&self.session, alloc, loop, uri);
|
try Session.init(&self.session, alloc, loop, uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn currentSession(self: *Browser) *Session {
|
|
||||||
return &self.session;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Session is like a browser's tab.
|
// Session is like a browser's tab.
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
// pub const MaxStdOutSize = 512; // ensure debug msg are not too long
|
|
||||||
|
|
||||||
/// MsgBuffer returns messages from a raw text read stream,
|
/// MsgBuffer returns messages from a raw text read stream,
|
||||||
/// according to the following format `<msg_size>:<msg>`.
|
/// according to the following format `<msg_size>:<msg>`.
|
||||||
/// It handles both:
|
/// It handles both:
|
||||||
|
|||||||
Reference in New Issue
Block a user