Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Update minimum supported Rust version to 1.48
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 9, 2020
1 parent bd0d9c7 commit 348acb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- stable
- beta
- nightly
- "1.40.0"
- "1.48.0"
steps:
- run: apt-get update -y
- run: apt-get install -y libgtk-3-dev libglib2.0-dev libgraphene-1.0-dev git xvfb curl libcairo-gobject2 libcairo2-dev
Expand Down
3 changes: 1 addition & 2 deletions glib/tests/clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,7 @@ fn test_clone_macro_default_return() {
let _closure = clone!(@weak v => @default-return Enum::A, move || { Enum::A });
let _closure = clone!(@weak v => @default-return Enum::B(0), move || { Enum::A });
let _closure = clone!(@weak v => @default-return Enum::C { x: 0 }, move || { Enum::A });
let _closure =
clone!(@weak v => @default-return { let x = 12; x + 2 }, move || { 19 });
let _closure = clone!(@weak v => @default-return { let x = 12; x + 2 }, move || { 19 });
}

#[test]
Expand Down

0 comments on commit 348acb5

Please # to comment.