Skip to content

Commit 530c734

Browse files
committed
glib: remove unsafe from SourceId::as_raw
1 parent 359e80d commit 530c734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glib/src/source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub struct SourceId(NonZeroU32);
2323
impl SourceId {
2424
// rustdoc-stripper-ignore-next
2525
/// Returns the internal source ID.
26-
pub unsafe fn as_raw(&self) -> u32 {
26+
pub fn as_raw(&self) -> u32 {
2727
self.0.get()
2828
}
2929

0 commit comments

Comments
 (0)