Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gpwclark authored Apr 3, 2024
2 parents 0cc77c0 + 6e4b80a commit 569c952
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bridge_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ enum SupportedGenericReturnTypes {
}

enum RustType {
// TypeBareFn is a syn type that is useful to leave attached for debugging purposes.
#[allow(dead_code)]
BareFn(TypeBareFn, Span),
Path(TypePath, Span),
Tuple(TypeTuple, Span),
Expand Down
3 changes: 1 addition & 2 deletions shell/src/platform/unix.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use std::collections::HashSet;
use std::convert::TryInto;
use std::ffi::{c_char, CString, OsStr, OsString};
use std::fmt::{Display, Formatter};
use std::fs::File;
Expand Down Expand Up @@ -235,7 +234,7 @@ impl Platform for Sys {
Err(e) => {
panic!("the CLOEXEC pipe failed: {:?}", e)
}
Ok(..) => {
Ok(_n) => {
// pipe I/O up to PIPE_BUF bytes should be atomic
panic!("short read on the CLOEXEC pipe")
}
Expand Down

0 comments on commit 569c952

Please sign in to comment.