mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Migrate to the 2024 edition (#35755)
* Migrate to 2024 edition Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Allow unsafe_op_in_unsafe_fn lint This lint warns by default in the 2024 edition, but is *way* too noisy for servo. We might enable it in the future, but not now. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Compile using the 2024 edition Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
eb2ca42824
commit
bb0d08432e
66 changed files with 317 additions and 293 deletions
|
@ -238,14 +238,14 @@ impl Dialog {
|
|||
Dialog::Authentication {
|
||||
username,
|
||||
password,
|
||||
ref mut request,
|
||||
request,
|
||||
} => {
|
||||
let mut is_open = true;
|
||||
Modal::new("authentication".into()).show(ctx, |ui| {
|
||||
let mut frame = egui::Frame::default().inner_margin(10.0).begin(ui);
|
||||
frame.content_ui.set_min_width(150.0);
|
||||
|
||||
if let Some(ref request) = request {
|
||||
if let Some(request) = request {
|
||||
let url =
|
||||
egui::RichText::new(request.url().origin().unicode_serialization());
|
||||
frame.content_ui.heading(url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue