diff options
Diffstat (limited to 'rust-bindings/src/auto/collection_ref.rs')
-rw-r--r-- | rust-bindings/src/auto/collection_ref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-bindings/src/auto/collection_ref.rs b/rust-bindings/src/auto/collection_ref.rs index 603b0156..cb3bf409 100644 --- a/rust-bindings/src/auto/collection_ref.rs +++ b/rust-bindings/src/auto/collection_ref.rs @@ -18,7 +18,7 @@ glib::wrapper! { impl CollectionRef { #[doc(alias = "ostree_collection_ref_new")] - pub fn new(collection_id: Option<&str>, ref_name: &str) -> Option<CollectionRef> { + pub fn new(collection_id: Option<&str>, ref_name: &str) -> CollectionRef { unsafe { from_glib_full(ffi::ostree_collection_ref_new(collection_id.to_glib_none().0, ref_name.to_glib_none().0)) } |