mirror of
https://github.com/servo/servo
synced 2026-05-01 20:07:22 +02:00
Replace allow(crown::unrooted_must_root) with expect(crown::unrooted_must_root) (#41815)
Testing: `./mach build -d --use-crown` with no warnings Fixes: #41761 Signed-off-by: WaterWhisperer <waterwhisperer24@qq.com>
This commit is contained in:
@@ -282,7 +282,6 @@ pub(crate) struct VertexAttribData {
|
||||
}
|
||||
|
||||
impl Default for VertexAttribData {
|
||||
#[cfg_attr(crown, allow(crown::unrooted_must_root))]
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
enabled_as_array: false,
|
||||
|
||||
Reference in New Issue
Block a user