Skip to content

Commit 9f50296

Browse files
committed
Auto merge of rust-lang#2290 - RalfJung:snakessss, r=RalfJung
use Rust SnakeCase
2 parents ff62c3a + 6a204e2 commit 9f50296

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shims/unix/dlsym.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use shims::unix::macos::dlsym as macos;
1010
pub enum Dlsym {
1111
Linux(linux::Dlsym),
1212
MacOs(macos::Dlsym),
13-
FreeBSD(freebsd::Dlsym),
13+
FreeBsd(freebsd::Dlsym),
1414
}
1515

1616
impl Dlsym {
@@ -20,7 +20,7 @@ impl Dlsym {
2020
Ok(match target_os {
2121
"linux" => linux::Dlsym::from_str(name)?.map(Dlsym::Linux),
2222
"macos" => macos::Dlsym::from_str(name)?.map(Dlsym::MacOs),
23-
"freebsd" => freebsd::Dlsym::from_str(name)?.map(Dlsym::FreeBSD),
23+
"freebsd" => freebsd::Dlsym::from_str(name)?.map(Dlsym::FreeBsd),
2424
_ => unreachable!(),
2525
})
2626
}
@@ -43,7 +43,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
4343
match dlsym {
4444
Dlsym::Linux(dlsym) => linux::EvalContextExt::call_dlsym(this, dlsym, args, dest, ret),
4545
Dlsym::MacOs(dlsym) => macos::EvalContextExt::call_dlsym(this, dlsym, args, dest, ret),
46-
Dlsym::FreeBSD(dlsym) =>
46+
Dlsym::FreeBsd(dlsym) =>
4747
freebsd::EvalContextExt::call_dlsym(this, dlsym, args, dest, ret),
4848
}
4949
}

0 commit comments

Comments
 (0)