diff options
| author | 2026-06-03 15:42:30 -0400 | |
|---|---|---|
| committer | 2026-06-04 10:40:44 +0000 | |
| commit | fea3a2dd7d3fc1936211ced5f84420e610435730 (patch) | |
| tree | 68442516060bf595377f1ffc7cb12981e5ca97ba /scripts/Makefile.thinlto | |
| parent | gpu: nova-core: move lifetime to `Bar0` (diff) | |
rust: drm: gem: shmem: Fix Default implementation for ObjectConfig
I completely forgot when coming up with this type that #[derive(Default)]
only works if all generics mentioned in the type implement Default (and T
usually doesn't). This being said: We don't use `T` for anything besides
using it for a reference type, so whether or not it implements `Default`
shouldn't actually need to matter.
So, fix this by just manually implementing Default instead of deriving it.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260603195210.693856-2-lyude@redhat.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
