mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-19 01:36:08 +00:00
Remove unnecessary export
This commit is contained in:
committed by
Dirkjan Ochtman
parent
4a79e9ea8c
commit
4df4e695eb
@@ -57,7 +57,7 @@ pub struct Code(u16);
|
||||
|
||||
impl Code {
|
||||
/// Create QUIC error code from TLS alert code
|
||||
pub fn crypto(code: u8) -> Self {
|
||||
pub(crate) fn crypto(code: u8) -> Self {
|
||||
Code(0x100 | u16::from(code))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user