Skip to content

Commit af72466

Browse files
committed
Hide a constructor function that is unused outside this module
1 parent 9d28c45 commit af72466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/sty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,7 @@ impl<'tcx> Const<'tcx> {
19891989
}
19901990

19911991
#[inline]
1992-
pub fn from_bytes(
1992+
fn from_bytes(
19931993
tcx: TyCtxt<'_, '_, 'tcx>,
19941994
bytes: &[u8],
19951995
layout: ty::layout::TyLayout<'tcx>,

0 commit comments

Comments
 (0)